|
|
|
|
- Overview
- How to?
- Debugging a component
- Multi-product component for WEBDEV
- Limitation
Debugging an external component
You have developed an external component and you want to debug it? The user of an external component sends an executable indicating that your external component does not operate? You are using your external component in another project and you want to debug it? Nothing's easier. WINDEV, WEBDEV and WINDEV Mobile allow you to easily debug your external components. Debugging a component To debug a component: - Open the project corresponding to the external component.
- In the "Project explorer" pane, select and enable the project configuration corresponding to the external component ("Enable this configuration" in the context menu).
- To configure the debug mode of the current component, go to the "Project" tab, "Test mode" group, expand "Test mode" and select "Configure test mode".
- Select the desired option. You can:
 Run the test of the component from the project (default): This option is used to run the test of the component from its own project. You have the ability to specify a command line.
- In your project, include the breakpoints required to debug your component.
- When the project test is started, the selected debug configuration will be used. When a breakpoint (or the STOP keyword) is encountered, the debugger will start automatically.
Multi-product component for WEBDEV To debug the WEBDEV part of a cross-platform component (for example, a component for WINDEV and WEBDEV), you must generate the component that has the same name as the actual cross-platform component generated from WINDEV. Limitation You cannot debug components that use the runtime context of the "client" project (i.e. the project that uses the component). Reminder: You can choose whether or not to use the runtime context of the "client" project in the component options: - Open the description window of the "Component" configuration:
- If the component configuration is currently open: on the "Project" tab, in the "Project configuration" group, click "Current configuration".
- In the "Project explorer" pane, open the context menu of the component configuration and select "Description".
- In the window that appears, in the "General" tab, click "Component options".
- In the "Access rights" tab, choose how the component accesses the data of the client project. To use the context of the client project, select "The component will access the data files, windows, pages and reports of the client project.".
- Validate.
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|