Debugger interface

The icons you'll notice at the top-right of the debugger are (from left to right):

  1. Pause/Resume Debugging (SHIFT+F2)
  2. Resume Script Execution (F9)
  3. Step over the next line (F8)
  4. Step into the next line (F7)
  5. Step out of the current function

Resuming the script execution executes whatever line the breakpoint has halted execution on, and continues execution until the next breakpoint, or until all server scripts have finished running.

Clicking the Step into button in the JavaScript debugger after execution has paused on a given breakpoint will execute the line on which the debugger has paused, and then will pause execution on the next line. If the current line executes an external function, then the next line that's executed ...

Get Learning ServiceNow now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.