Tuto WEBDEV 25
Part 10: Optimizing and debugging a project 369 Overview Let’s take a look at the debugger that is supplied with WEBDEV. What is the debugger? The debugger is a powerful tool used to follow the code or application progress, step by step. Enhancing a process or even an application becomes child’s play. We are going to use the debugger on the long process found in the PAGE_PerformanceProfiler page. Using the debugger ▶ To debug the PAGE_PerformanceProfiler page: 1. Open "PAGE_PerformanceProfiler" in the page editor (double-click its name in the "Project explorer" pane). 2. In the WEBDEV editor, set a breakpoint in the code of the Button control "PROCESS TO ANALYZE": click next to the first line of code in the "Click (server)" event or press Ctrl + B. A red dot will appear. The debugger will be automatically started when the line preceded by the breakpoint is run. 3. Run the test of "PAGE_PerformanceProfiler" page ( among the quick access buttons). Remark See the online help for more details (keyword: "Debugger, Run a test").
Made with FlippingBook
RkJQdWJsaXNoZXIy NDQ0OA==