Tuto WINDEV 25
384 Part 6: Optimizing and debuging a project Overview Let’s take a look at the debugger supplied with WINDEV. 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 WIN_PerformanceProfiler window. Using the debugger ▶ To debug the WIN_PerformanceProfiler window: 1. Open "WIN_PerformancepRofiler" in the window editor (double-click its name in the "Project explorer" pane). 2. Run the test of "WIN_PerformanceProfiler" window ( among the quick access buttons). 3. Start the debugger by using one of the following methods: • Press Ctrl + [Pause]: the debugger will be automatically started during the next user action in the window whose test is run. • Go back to the WINDEV editor and position a breakpoint in the WLanguage code associated to the Button control "Process to analyze" (click next to the first line of code of the "Click" 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. Remark Several methods can be used to start the debugger. See the online help for more details (keyword: "Debugger, Run a test"). 4. Click "Process to analyze". The debugger starts. The current line is preceded by a little arrow.
Made with FlippingBook
RkJQdWJsaXNoZXIy NDQ0OA==