For logging the variable to a file in decimal format, follow the steps listed below:
- Start a log session in the
Debugger Shell
, for this use the
log command by specifying the "
help log" in the
Debugger Shell
. For example,
log s c:\
logfile.log
- Use the
display command to log the results to that file. For logging in decimal format, use the command
display counter %d
- After you finished logging the variable value, use the
log off command to close the session log file.
You can also add a Debugger Shell Action to a breakpoint. For this, follow the steps listed below:
- Right-click the desired breakpoint and select
Breakpoint Properties
from the context-menu.
The
Properties for
dialog box appears.
- Select
Actions
from the list in the left panel.
- Click the
New
button in the right panel.
The
New Breakpoint Action
dialog box appears.
- Select the
Debugger Shell Actions
from the
Action type
drop-down list.
The Debugger Shell action will be added to the breakpoint.