Setting breakpoints – PB Docs 80

Setting breakpoints

Before and during debugging,
you can set breakpoints in the Script editor on any page you deployed.

At a breakpoint, you can:

  • Set more breakpoints for any open page
    in the target
    note.gif Limitations when debugging Do not edit pages while debugging. Do not interact with the
    browser when paused at a breakpoint.
  • Examine variables in the Watches window
    The variables window lists local variables in the current
    script, and global variables and objects on the current page.
  • Examine the call stack
    The Call Stack window shows the chain of function calls that
    led to the current script.
  • Step line by line through the script

Inserting breakpoints

Before you start debugging, you should set at least one breakpoint.
Breakpoints that you set remain in effect until you remove them.

proc.gif To set a breakpoint:

  1. In the Script editor, right-click a line
    of code that is not currently a breakpoint.

  2. From the popup menu, select Set/Remove
    Breakpoint.

    or

    Press F9.

Removing breakpoints

The breakpoint command is a toggle switch.

proc.gif To remove a breakpoint:

  1. In the Script editor, right-click the line
    that has the breakpoint you want to remove.

  2. From the popup menu, select Set/Remove
    Breakpoint.

    or

    Press F9.

proc.gif To remove all breakpoints from the file or target

  1. Click inside the Script editor.

  2. Select Edit>Remove All Breakpoints (from
    this file or from this target) from the menu bar.

proc.gif To remove all breakpoints from a page:

  1. In the Script editor, right-click in a
    script.

  2. Select Remove All Breakpoints (on this page) from
    the popup menu.


Document get from Powerbuilder help
Thank you for watching.
Was this article helpful?
Subscribe
Notify of
guest
0 Comments
Oldest
Newest Most Voted
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x