ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

This content has been translated automatically.  Click here  to view the French version.
Help / Developing an application or website / Component / External component
  • Overview
  • How to?
  • Debugging a component
  • Multi-product component for WEBDEV
  • Limitation
WINDEV
WindowsLinuxJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac Catalyst
Others
Stored procedures
Overview
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.
How to?

Debugging a component

To debug a component:
  1. Open the project corresponding to the external component.
  2. In the "Project explorer" pane, select and enable the project configuration corresponding to the external component ("Enable this configuration" in the context menu).
  3. To configure the debugging mode of the current component, under the "Project" pane, in the "Test mode" group, pull down "Test mode" and select "Test mode settings".
    Debugging options of a component in WINDEV
  4. Select the desired option. You can:
    • AndroidiPhone/iPad 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.
  5. In your project, include the breakpoints required to debug your component.
  6. 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 Use of the "client" project execution context is configured in the component options:
  1. Display the "Component" configuration description window: in the "Project Explorer" pane, display the component configuration context menu and select "Description".
  2. In the window that appears, in the "General" tab, click "Component options".
  3. On 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.".
  4. Validate.
Minimum version required
  • Version 10
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 10/09/2024

Send a report | Local help