User`s manual

Dynamic C Users Manual digi.com 297
Debugger tab of the Project Options dialog, which allows saving the Trace window to a file upon
program termination.
Stack Trace
(Ctrl+T)
The Stack Trace window displays the call sequence and the values of function arguments and local
variables of the currently running program. The screenshot shown here is the Stack Trace window
when Samples/Demo3.c is running. The window contents tell us that the function main() has
been called and that it has one local variable named secs, which currently has a value of 0.
The Depth value along the bottom of the
Stack Trace window is the current number of
bytes on the stack. The Max Depth value is
the maximum number of bytes pushed on the
stack at any one time for the current run of
the program or since the Max Depth value
was reset. The Max Depth value can be reset
by a right click in the Stack Trace window to
bring up some menu options. Along with resetting the Max Depth value back to zero (think of it like a
car trip odometer) you can use the right click menu to copy text from the Stack Trace window or to
cause the source code file to become the active window. The source code file could be a library file if a
library function is executing at the time the menu option is requested.
Information
Select this option to activate the Information window, which displays how the memory is partitioned
and how well the compilation went.
Table 14-1. Information Window
Name of Field Description of Field
Root code
The begin (base), end (top) and size of the root code area,
expressed in logical address format (16-bit).