Back

Visual Debugger


The Visual Debugger allows you to pause scripts at specific lines and examine the current runtime state. The Debugger displays the content of Fields and Tables as well as the values of JavaScript variables.

You can start and stop the Debugger by clicking Start/stop debugger in the toolbar. The Debugger debugs sessions on the server currently selected in the server dropdown in the top right of the Studio.

You can add breakpoints in the margin next to lines of your script. When a debug session is active and the server reaches a breakpoint it will pause execution.

Starting the Debugger shows the Debug panel.

When a script is paused at a breakpoint the Debug panel shows:

  • Information about where the script has stopped
  • The values of in-scope JavaScript variables
  • The values of Fields
  • Table information including the current row and the values of its columns

The toolbar in the Debug panel can be used to resume script execution , step to the next line of code , step into a function on the current line and step out of the current function .

The Breakpoints tab of the Debug panel contains a list of all breakpoints set in the current workspace and can be used to remove them.