Salesforce

How Do I Debug a Component? (Magic xpa 3.x)

« Go Back

Information

 
Created ByKnowledge Migration User
Approval Process StatusPublished
Objective
Description

How Do I Debug a Component? (Magic xpa 3.x)

You can debug component programs as you would any program in the project, but only if the component is defined as a module of the current project.

To add a module to the current project:

  1. Go to Project->Add Module. A file selector window will appear.

  2. Select the project (.edp file) you want to use.

Once you have the component on the Navigator module list, you can click on the module to open it and add breakpoints. The breakpoints will show up on the same breakpoint list with the breakpoints from the calling task. When you reach the breakpoint in the component, the current task will close, the component will open, and you will see the execution of the code within the component.

Reference
Attachment 
Attachment