Download OS-9 C Language User Manual

Transcript
Chapter
7
Debugger Control Commands
The commands described in this chapter control the execution of SrcDbg.
They provide the following functions:
Command:
Description:
Fo[rk]
starts a program from within SrcDbg
G[o]
executes the program until a breakpoint occurs or the program
stops
S[tep]
executes one statement at a time
N[ext]
S[tep]
executes one statement at a time. N[ext] does not, however,
step through functions. Instead it executes at full speed until
the function returns.
R[eturn]
executes the program until returning to the calling function
B[reak]
sets breakpoints in the program
W[atch]
specifies program objects to be monitored during execution of
the program
K[ill]
removes breakpoints and watch expressions in the program
L[o]g
writes SrcDbg commands to the specified pathlist
O[ption]
allows the user to change certain SrcDbg options
Re[ad]
reads SrcDbg commands from the specified pathlist
7-1