User`s manual

108 digi.com Debugging with Dynamic C
6.4.1 Run and Inspect Menus
The Run and Inspect menus are covered in detail in Section 14.2.5 and Section 14.2.6, respectively. These
menus are where you can enable the use of several debugger features. The Run menu has options for tog-
gling breakpoints and for single stepping. The Inspect menu has options for manipulating watch expres-
sions, disassembling code and for dumping memory. For the most part, a debugger feature must be enabled
before it can be selected in the Run or Inspect menus (or by its keyboard shortcut or toolbar menu button).
Most debugger features are enabled by default in the Project Options dialog. The disassembled code and
memory dump options are the exception, as they are always available to a compiled program.
6.4.2 Options Menu
From the Options menu in Dynamic C you can select Environment Options, Project Options or Toolbars,
where you configure debug windows, enable debug tools or customize your toolbar buttons, respectively.
The Environment Options dialog has a tab labeled “Debug Windows.” There are a number of configura-
tion options available there. You can choose to have all or certain debug windows open automatically
when a program compiles. You can choose font and color schemes for any debug window. More important
than fonts and colors, you can configure most of the debug windows in ways specific to that window. For
example, for the Assembly window you can alter which information fields are visible. See the section
titled, “Debug Windows Tab” on page 269 for complete information on the specific options available for
each window.
The Project Options dialog has a tab labeled “Debugger.” This is where symbolic stack tracing, break-
points, watch expressions and instruction level single stepping are enabled. These debugging tools must be
enabled before they can be used. Some configuration options are also set on the Debugger tab. See the sec-
tion titled, “Debugger Tab” on page 285, for complete information on the configuration options available
on the Debugger tab.
The final menu selection on the Options menu is labeled, “Toolbars.” This is where you choose the tool-
bars and the menu buttons that appear on the control bar. See the section titled, “Toolbars” on page 292, for
instructions on customizing this area. Placing the menu buttons you use the most on the control bar is not
really a debugging tool, but may make the task easier by offering some convenience.
6.4.3 Window Menu
The Window menu is where you can toggle display of debug windows. See Section 14.2.8 for more infor-
mation. Another selection available from the Window menu is the Information window, which contains
memory information and the status of the last compile. See “Information” on page 297 for full details.
Stdio, Stack and
Register windows
Environment Options,
Debug Windows tab
Always enabled Windows Menu
a. Keyboard shortcuts and toolbar menu buttons are shown in the dropdown menus, along with their corre-
sponding menu commands.
Table 6-1. Summary of Debug Tools and Menus
Name of Feature
Where Feature is
Configured
Where Feature is Enabled
Where Feature is
Toggled
a