|
|
|
|
|
- Debugging the current project
- Debugging an executable
- Debugging a component
WINDEV includes a debugger to help you optimize your code. The debugger allows you to run your applications step by step and view the WLanguage code executed, the contents of variables, etc.
Debugging the current project 1. Using breakpoints in the code editor. The debugger will be automatically started when the line preceded by a breakpoint is run. To set a breakpoint, click in the left margin next to the line of code: the breakpoint appears as a red dot.
2. Using the STOP keyword in the WLanguage codeThe debugger will be automatically started when this line of code is executed. 3. Using the "Debug project" option The debugger is launched at the same time as the application test. The option "Debug project" can be found on the "Project" tab, under "Test mode". 4. Pressing Ctrl + Pause during the window or project test The debugger starts with the action performed after using Ctrl + Pause. WINDEV also allows you to debug the executable file associated with the current project. This executable file can: - be run from WINDEV, on the development computer.
- be currently run on the development computer.
- be run from WINDEV, on a remote computer.
- be currently run on a remote computer.
A component is debugged from the component project. You can: - Test the component from the component project.
- Test the component by running another project located on the development computer. This allows you to test the component from the project that uses it.
- Test the component by running an executable file located on the development computer. This allows you to test the component directly from the executable file that uses it.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|