Chapter 5: Debugging Programs
Tracing Program Execution
Example
To break execution as soon as "message_id" contains "0":
Double-click "message_id".
Choose the Trace→Variable Break... (ALT, T, B) command.
Enter "0" in the Value text box.
Choose the OK button.
The debugger halts execution as soon as the program writes "0" to the
"message_id" variable. Once execution has halted, the Trace window
becomes active and displays the results.
178