DADiSP 6.7 B02 Release Notes
Using the SPL Debugger
The
debug or
db commands start the SPL debugger
and set a breakpoint in the specified function.
For example, following debug session:
invokes the SPL Debugger and sets a breakpoint in the
roots function. The Command Line will display a red
prompt background to indicate debug mode.
Since the
roots function is called, the debugger will
display the source code and pause at the first executable line. Use
the GUI interface to step through code, set breakpoints and evaluate
expressions. Click on any variable to display its value.
Because a breakpoint has been set in the
roots function, the debugger
will pause whenever
roots is called. For example, invoking
the
residuez function through the pull down menus:
Analysis » Signal Processing » Partial Fraction Expansion |
causes the debugger to stop in
roots because
residuez calls
roots.
Use the appropriate debugger buttons to step through and into SPL
functions, move up and down the stack and show the function call
sequence.
Examining Variables
Use the debugger command prompt to examine global and local
variables by entering the variable to examine or simply click on
any variable to view its current value in the output display
area.
Setting Breakpoints
Press the Breakpoints button or use the
db function to set
additional break points in SPL routines and to set a break point
at a specific line number.
Clicking the left mouse button in the left
margin of a line also sets a new breakpoint or clears an existing breakpoint.