Depending on the language you are debugging, the Distributed Debugger provides you with monitors to monitor various aspects of your program. The following monitors are available in the Distributed Debugger user interface:
Variables and Expressions (Monitors pane)
The Monitors pane shows variables and expressions that you have selected to monitor. You can enter the variables or expressions in a dialog box or select them from the Source pane. Use the Monitors pane to monitor global variables or variables you want to see at all times during your debugging session. From the Monitors pane you can also modify the content of variables, or to change the representation of values.
Tip: Enabling hover help for variables provides a quick way to view the contents of variables in the Source pane. When you point at a variable, a pop-up appears displaying the contents of that variable. If hover help for variables is disabled and you want to enable it, see the related topic below.
Local Variables (Locals pane)
The Locals pane helps you monitor all local variables in scope at the current execution point of your program. For multithreaded programs, each thread is listed and can be expanded to show the local variables in scope for each thread. The Locals pane is updated after each Step or Run command to show what variables are currently in scope and the contents of those variables. It is also used to modify the content of variables or to change the representation of values.
Registers (Registers pane)
The Registers pane allows you to view and change the contents of processor registers for the threads in your program. Although threads may share the same set of registers, the operating system saves the register contents of each thread as the thread is suspended, and restores that thread's processor contents when the thread resumes. The registers are categorized, so you only need to expand the category of registers that you wish to view.
The Registers pane is not available when debugging
interpreted Java programs. It is available when debugging High Performance Compiled (HPC)
Java programs.
Storage (Storage pane and Storage Monitors pane)
Storage pane and Storage Monitors pane let you view and change the contents of storage areas used by your program. You can also change the address range to view and modify the contents of storage, and change the representation the debug engine uses to display storage.
The initial Storage pane shows the storage areas used by your program at its starting address.
You can add additional Storage Monitor panes that start at the address of storage allocated to a register, variable, array, class object or expression.
Storage pane and Storage Monitor panes are not available
when debugging interpreted Java programs. They are available when debugging HPC Java
programs.