Using SoftBench Debugger

Viewing Assembly Language and CPU Registers

Choose the format used to display the register values with the "Display Format" button. The "( ) Single" and "( ) Double" buttons on the HP-PA Floating Point Registers display allow you to specify whether SoftBench Debugger displays the registers as two 4-byte values or one 8-byte value.

The "Register Tracing" option menu in the registers window specifies how often SoftBench Debugger updates the register values, just like a watchpoint's granularity. You can turn register updating off, or enable it as often as you need it (such as whenever the program stops or after every source statement). Leaving register updating disabled until you need it allows your program to run faster.

When you activate register tracing, SoftBench Debugger creates an implicit watchpoint to check the register values at the appropriate procedure entry, statement, and so on.

Figure 7-12shows one of the "Show: Registers" windows.

Figure 7-12 "Show Registers" Window (PA-RISC)

Chapter 7

213