Displays the status of the debugger callstack.
The status of the debugger callstack.
Assume the following two SPL routines:
y = x + x;
y = myfunc(y);
y = x*x;
Now consider the following debugger session:
A breakpoint is set in the routine myfunc and the function mycall is executed. Since mycall calls myfunc, the debugger stops in myfunc. DBSTACK shows the debugger stepped through mycall at line 6 and myfunc at line 5.
At this point, the LOCALS command shows that the local variable x is set to 20, the value set by the calling mycall function.
The DBUP command moves up the call stack to the mycall function. Now the LOCALS command shows x has the value 10, the value specified when mycall was executed.
Use DBCONT to start the debugging process. Use DBSTEP or DBCONT to resume execution after a breakpoint has been reached. Use DBSTATUS for information on the current breakpoint. Use DBQUIT to exit debugging.
Any DADiSP command or function can be executed once a breakpoint has been reached.