|
Description
The PowerBuilder debugger supports new breakpoint, watchpoint, and stepping capabilities and displays multiple views of your application in panes that you can move, resize, and overlap for a customized layout. You can also use just-in-time debugging to open the Debug window if a system error occurs or you notice problems while running your application from the Run button.
Usage
When you run an application in debug mode, use conditional and occasional breakpoints and the ability to set a breakpoint when a variable changes to fine-tune where you suspend execution. Then set variables and expressions you want to watch, and step through your code examining variables and memory objects. You can step into, over, and out of functions, run to the location where you set the cursor, and set the next statement you want executed.
Views
Multiple views of the state of the application make it easy to monitor changes. Use mouse actions (including drag and drop) to set, enable, disable, or clear breakpoints and watchpoints and to change the context of the application.
|
View
|
What it shows
|
|
Breakpoints
|
A list of breakpoints with indicators showing whether the breakpoints are currently active or inactive
|
|
Call Stack
|
The sequence of function calls leading up to the function that was executing when a breakpoint was hit
|
|
Objects in Memory
|
An expandable list of objects currently in memory
|
|
Source
|
The full text of the current script or any script or function in the application
|
|
Source Browser
|
An expandable hierarchy of objects in your application
|
|
Source History
|
A list of the scripts that have been displayed in the Source view
|
|
Variables
|
An expandable list of all the variables in scope, in separate views or views combining local, global, instance, parent, and shared variables
|
|
Watch
|
A list of variables or expressions you have selected to watch as the application proceeds
|
|