Set breakpoints where you want to test or examine your application's state.
If you suspect a problem is occurring in a particular statement or function, insert
a breakpoint at that point in the code, using any of several
PowerBuilder windows. The breakpoint
signals the debugger to interrupt program execution so you can examine it. In windows
that display breakpoints, each one is marked in with a circular icon. The icon color
indicates whether the breakpoint is currently enabled (red) or disabled (white).
The
PowerScript debugger provides a range of ways to set and use breakpoints: