Tuto WINDEV 25
Part 6: Optimizing and debuging a project 387 4. The expression is automatically added into the debugger pane at the bottom of the screen. ▶ The debugger can also be used to run a set of code lines: 1. Press F8 until you reach the line: HModify(Product) The F8 key is used to run the code of InterrogateSupplierDatabase procedure without running it step by step in the debugger. 2. Click the following line with the mouse (caution: click inside the line and not in front of it): IF HExecuteQuery(QRY_QuantityOrdered) THEN 3. Press the F6 key (or click the "Run until cursor" button found in the ribbon). 4. The arrow indicating the line currently run moves until it reaches the code line where the cursor is positioned. The code lines found before the cursor are automatically run. ▶ We are now going to add a breakpoint and to run the code until it reaches the breakpoint: 1. Click in the hatched area with the mouse, in front of HModify . A breakpoint (red bullet) appears. 2. Press the F5 key (or click the "Continue" button found in the ribbon). The code is run until it reaches the breakpoint. The arrow used to identify the current line moves until it reaches the breakpoint. 3. Click the breakpoint to remove it.
Made with FlippingBook
RkJQdWJsaXNoZXIy NDQ0OA==