FoxScript Debugger
For debugging FoxScript code you can use internal debugger. Just set a breakpoint in your code or use command debugger on.
Debug toolbar


- Continue code execution (F5)

- Stop code execution

- Execute current line and go to next (step-by-step debagging mode) (F6)

- Execute code before current line and pause here (F7)
Note: If current line is not executable execution may not stop here.

- Toggle breakpoint on the current line of code (F8)

- Clear all breakpoints (CTRL+F8)

- Add expression to the watch window (F4)
If you select text before pressing F4 this text will be automatically inserted in the watch window. Otherwise you will be prompted to enter an expression as it shown below:

- Refresh all expressions in the watch window (CTRL+W).
Sometimes when using local variables, there may raise a situation when it won't be calculated (refreshed). To handle such situations - use this button.
- Open Macros list dialog
- Select required macro
- Go to FoxScript area
- Go to the line you want to start debug with
- Press
in the toolbar to set a breakpoint
- Save macros list by pressing
in the toolbar
- Run macro from the menu or a toolbar
To remove breakpoints from your macro code go to the line where it was set and press
back to the top