Keyboard shortcuts

Press ← or → to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Run and debug your app

Shortcuts are given for the default keymap, with the Classic keymap in brackets. All of them are in the Run menu.

Run

Press F5 (F9). CrawRAD generates the form code, builds the project and starts it under the debugger. The first build takes a while; later ones only rebuild what changed. A web project opens in your browser instead of a window (see Publishing your app for the web).

To run without the debugger, use Run Without Debugging, Ctrl+F5 (Ctrl+Shift+F9). Breakpoints are ignored.

If the build fails, the errors are listed with their file and line.

Stop on a line

Put the caret on a line of your code and press F9 (F5) to add a breakpoint; press it again to remove it. Run the app. When it reaches the line it stops, and the Run and Debug panel shows the call stack and the local variables.

Step through the code

ToShortcut
Run to the next line, over any callF10 (F8)
Go into the call on this lineF11 (F7)
Run until the current function returnsShift+F11 (Shift+F8)
Carry on to the next breakpointF5 (F9)
Stop where it is, nowF6
End the programShift+F5 (Ctrl+F2)

Watch a value

Select an expression in the editor, or put the caret on a word, and use Add Watch (Ctrl+F5 in the Classic keymap). The value is shown in the Run and Debug panel each time the program stops.

All the commands are listed in Menus and commands.