Skip to content
AEOWUN
Docs Menu

Script Debugger

Use diagnostics now and investigate breakpoints when supported.

Debug an AeoScript

Open the AeoScript Editor workspace and load a script you want to inspect. The built-in Debugger can pause the script during Play so you can examine the current source line and its variables.

Set a breakpoint

  1. Open a saved script in the Script Editor.
  2. Click the gutter beside an executable line to set a breakpoint.
  3. Start Play and trigger the script.
  4. When execution reaches the breakpoint, the Debugger displays Paused and the active script location.

Use a short test script with a function and a few changing values to make your first breakpoint easier to inspect.

Control execution

The Debugger toolbar has these commands:

Command What it does
Continue Resume execution until the next pause
Step Into Advance into a function call
Step Over Advance over a function call
Step Out Continue until the current function returns

Step Out is enabled when a caller frame exists.

Inspect the call stack and variables

While paused, open Call Stack in the Debugger inspector. Select a frame to inspect where the current function was called.

The Variables area groups values into Locals, Captured, and Instance fields. Select a call-stack frame to see the values associated with that frame.

Use Output to review messages written through debug.log() and Problems for diagnostics. Selecting a reported source location helps you return to the relevant script.

Next: AeoScript diagnostics and Script errors.