Tuto WEBDEV 25
372 Part 10: Optimizing and debugging a project 2. 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. Position the cursor on the following line: IF HExecuteQuery(QRY_QuantityOrdered) THEN 2. Press the F6 key (or click the "Run until cursor" button found in the ribbon). 3. 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 F5 (or click "Continue" 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==