Tuto WINDEV 25

374 Part 6: Optimizing and debuging a project 5.  The report window of the dynamic audit appears. ▶ Let’s study this window: • The top section of this window is used to choose the display mode of data. You can: • choose a chronological display (respecting the order in which the events occurred) or an overall display, used to group the different types of problems. In this case, the chronological border allows you to see the position and importance of problems. • choose the type of problem to display (error, assertion, ...). This allows you for example to concentrate on the major errors, ... • The bottom section of this window displays the different events that occurred and that may cause problems in the application. ▶ In this example, the dynamic audit detects several problems: • An excessively long caption that is assigned by programming, • A SWITCH loop for which no CASE is run, • An assertion is triggered instead of an exception, • The opening of a file that does not exist, • The assignment of a nonexistent image file to an Image control. For each problem, a "..." button is used to access the event details. If the event is linked to a specific line of code, the button allows you to open the code editor directly at the corresponding location in order to fix the problem. ▶ Close the window of dynamic audit.

RkJQdWJsaXNoZXIy NDQ0OA==