ctrace
[options
] [file
]
Debug a C program.
ctrace reads the C source file
and writes a modified version to standard output.
Common options are -f and -v.
ctrace also accepts the cc options
-D, -I, and -U.
Trace only the basic C functions (SVR3 only).
Print variables as floating point.
functions
Trace only the specified functions
.
n
Follow a statement loop n
times (default is 20).
Print variables in octal.
s
'Print trace output via function s
(default is printf ).
Run the C preprocessor before tracing.
c
Print information about ctrace in output (if c
= y)
or suppress information (if c
= n, the default).
file
Change the trace function package to file
(default is runtime.c).
Suppress certain redundant code.
n
Trace n
variables per statement (default is 10; maximum is 20).
Print variables as unsigned.
functions
Do not trace the specified functions
.
Print version information on standard error.
Print variables as floating point.