Tuto WINDEV 25

388 Part 6: Optimizing and debuging a project ▶ To end this test, we will be using an "Auto-stop" expression. An "Auto-stop" expression is used to start the debugger as soon as a condition is checked or when the value of a variable is modified. In our example, the debugger will be started as soon as the value of progress bar is set to 50%: 1.  In the "Debugger" pane, select the "PROGBAR_Progress" expression that was added beforehand. 2. Click the green circle. 3. Press F5 to continue the test. 4. A message is displayed, indicating that the value of "PROGBAR_Progress" expression changed. 5. Validate. 6.  In the "Debugger" pane, select the "PROGBAR_Progress" expression. Click the expression again: the "Expression" column becomes editable. In the "Expression" area, add "=50". You will get "PROGBAR_Progress = 50". 7. Press F5. The program continues to run. The debugger is started again when the value of the progress bar is set to 50. ▶ That’s it, the main features of debugger have been presented here. To stop the test in the debugger, click "End the test" found in the ribbon.

RkJQdWJsaXNoZXIy NDQ0OA==