User`s guide
Tracing Program Execution
65
cont {at | to} line
Sets a temporary breakpoint at the specified source line,
then resumes execution with the current line. When your
program reaches the breakpoint at line, dbx stops your
program and deletes the temporary breakpoint. The
keywords at and to are equivalent.
cont in procedure
Sets a temporary breakpoint to stop execution upon
entering the specified procedure, then resumes execution
with the current line. When your program reaches the
breakpoint in procedure, dbx stops your program and
deletes the temporary breakpoint.
If your program stopped because dbx caught a signal intended for your
program, then dbx will send that signal to your program when you continue
execution. You can also explicitly send a signal to your program when you
continue execution. Sending signals to your program upon continuation is
discussed in “Continuing After Catching a Signal” on page 75.
When you debug multiprocess programs, the resume command can be more
helpful than the cont command. Refer to “Resuming a Suspended Process”
on page 102 for more information about the resume command.
Tracing Program Execution
The trace command allows you to observe the progress of your program as
it executes. With it, you can print:
• values of variables at specific points in your program or whenever
variables change value
• parameters passed to and values returned from functions
Each trace is assigned a number when you create it. Use this number to
reference the trace in the various commands provided for manipulating
traces (for example, disable, enable, and delete, all described in “Managing
Breakpoints, Traces, and Conditional Commands” on page 70).