Debug
WIDE Debug Feature offers you the ability to debug your programs and watch their variables at runtime.
Before executing your program in debug mode, you'll need to set some breakpoints in your code; this can be achieved in two ways:
- Clicking on the editor gutter at the line of the
sought breakpoint
- Pressing F9 when the cursor is at the line of the sought breakpoint
Now, click 'Debug' (

) on the toolbar (or press F6) - The Debug Pane will show below and your program will start to run until it will encounter the first breakpoint:
- Notice The blue highlight under the current executed
line in the text-editor. If your program makes use of syntactic sugar
(available in the .while format), the highlight may be temporarily "lost" when an invisible
command is stopped at.
- On the bottom-right corner of the screen - The
Variable Watch Table - double click a variable to view its complete value
- You can control the program execution with the
buttons at the toolbar:
Step to the next
line of execution (F10)
Resume Program until the next breakpoint
will be encountered (Shift+F10)
Run-To-Cursor:
Resume program execution and pause at the line where the cursor is currently
positioned in the editor (Ctrl+F10)
Show
execution point: Move the cursor to the current execution point in the
editor
Abort program execution (useful for infinite loops) (Ctrl+F6)
.