Tuto WINDEV 25
Part 6: Optimizing and debuging a project 381 2. Click the "Calls" button to display the details of calls to the UpdateProductStock procedure. Select the "Ping" line and click the "Code" button: the corresponding code line is displayed in the code editor. 3. Close the performance profiler. 4. The following code line is run: // Checks the accessibility of supplier server Ping("supplier-addr") The slowdown is caused by the fact that the address specified for Ping is not accessible. ▶ Let’s check the operating mode of application by optimizing this code: 1. Replace the code line containing Ping by the following code line: // Checks the accessibility of supplier server Ping( "www.google.fr ") 2. Save the code (Ctrl + S).
Made with FlippingBook
RkJQdWJsaXNoZXIy NDQ0OA==