The following panes are available in the Distributed Debugger user interface.
The Stacks pane provides a view of the call stack for each thread in the program you are debugging. Each thread in your program appears as a root node in a tree structure. Expand a node to display the names of the functions on the call stack for that thread. When the tab for the Stacks pane is selected, a Stacks menu is added to the debugger's main menu bar.
The Breakpoints pane provides a view of all breakpoints that you have set for the debug session. Line Breakpoints appears as a root node in a tree structure if you have set any line breakpoints and Watch Breakpoints appears as a root node if you have set any watch breakpoints. Expanding a node will display a list of the breakpoints of the corresponding type.
Use the Breakpoints pane to view or delete breakpoints that have been set in your program. You can also use the Breakpoints pane to modify the properties of line breakpoints. When the tab for the Breakpoints pane is selected, a Breakpoints menu is added to the debugger's main menu bar.
The Programs pane displays a list of Programs, Service Programs and Java classes under debug in the current debug session. Each program appears as a root node in a tree structure. You can expand the program nodes to show modules. You can further expand module nodes to show procedures and functions. When the tab for the Programs pane is selected, a Programs menu is added to the debugger's main menu bar.
While the Programs menu is available, you can use its Add Program dialog to add additional Programs,
Service Programs and Java classes for debugging.
The Source pane provides various debug views of the program you are debugging. If you compiled your program with the appropriate debugging information, you have up to three choices for viewing it: Source view, Listing view, or Statement view. To display a Source view, the source file must be available on the AS/400 in the library where the module was compiled from or it must be available locally.
The Monitors pane shows variables that you would like to keep track of. You can add variables to the Monitors pane by opening a dialog box or by selecting 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 change the representation of values.When the tab for the Monitors pane is selected, a Monitors menu is added to the debugger's main menu bar.
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 that thread. The Locals pane is updated after each Step or Run command to reflect which variables are currently in scope and the contents of those variables. It can also be used to change the content of variables. When the tab for the Locals pane is selected, a Locals menu is added to the debugger's main menu bar.
By default, all of the above panes are accessible from the debugger's main window, however, you can use the View menu if you wish to control which panes are displayed. When the Control Panes menu item is checked, the Stacks, Breakpoints and Programs panes are displayed in the main window. When the Value Panes menu item is checked, the Monitors and Locals panes are displayed in the main window. When the Source Pane menu item is checked, the Source pane is displayed in the main window.