is used to call the WLanguage debugger during a test in the editor. Once this keyword is called, the current test is run in the debugger.
// Open a new window
// Start the debugger
Starting the debugger
Condition for starting the debugger. The debugger will be started if the condition is fulfilled.
Caution: this condition is evaluated when debugging a project only.
Start modes of the debugger
To start the debugger during a test, you can use:
- STOP in the code editor.
- A breakpoint in the code editor: on the "Code" tab, in the "Breakpoints" group, expand "Breakpoint" and select "Add a breakpoint" (or press Ctrl + B in the code editor).
- The Ctrl + Pause keys when running the test.
Tracing/Debugging a project
To trace a project from the beginning of its execution: on the "Project" tab, in the "Test mode" group, expand "Test mode" and select "Debug project" (Ctrl + F9).
STOP has no action in the code of an executable.