Setting a Breakpoint on a Function

Set a breakpoint at a specific function.

  1. Start the debugger and enter break mode, if you are not already in break mode.
  2. Open the Call Stack window.
  3. Right-click a function and select Breakpoint > Insert Breakpoint.
    PowerBuilder displays a breakpoint icon with the function name, and enables the breakpoint. It also inserts a breakpoint icon in the Script Editor (at the location in your code where the function is called) and the Breakpoints window.