Notice: this Wiki will be going read only early in 2024 and edits will no longer be possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.
Difference between revisions of "Swordfish Documentation: Debugging Third Party Plugins"
(17 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
− | =Debugging third-party plug-ins= | + | ==Debugging third-party plug-ins== |
− | + | This section contains instructions on how to inspect the source code of third-party plug-ins (delivered together with the Swordfish run-time platform) during the debug session. | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
+ | ==To inspect the source code of the third-party plug-in== | ||
+ | <ol> | ||
+ | <li>Check out the appropriate plug-in project from the [http://dev.eclipse.org/svnroot/rt/org.eclipse.swordfish/trunk/org.eclipse.swordfish.third-parties Swordfish Repository] into your workspace.</li> | ||
+ | <li>Check if the project contains <b>source-bundle</b> sub-directory with plug-in sources. If this directory is present you can browse the plug-in source code or debug third-party plug-ins. If the source code directory is missing, add it by following the instructions in the next section.</li> | ||
+ | </ol> | ||
==To add source-bundle to third-party plug-in project== | ==To add source-bundle to third-party plug-in project== | ||
+ | See instructions in the source codes for third-party plug-ins. These are organized in form of source-bundles according to the rules defined by [http://wiki.eclipse.org/Orbit_Source_Bundles Eclipse Orbit project]. | ||
− | [http://wiki.eclipse.org/ | + | To create a source bundle: |
− | + | <ol> | |
− | [[Image:Source_bundle_attachment.png]] | + | <li>Get the source code for the third-party plug-in (plug-in version information can be found in the plug-in's manifest file) and add it to the project as described on the Eclipse Orbit [http://wiki.eclipse.org/Orbit_Bundle_Checklist#Create_a_Source_Bundle wiki].</li> |
− | + | <li>Attach the source code to the plug-in's binaries as shown in this picture:<br/> | |
− | + | [[Image:Source_bundle_attachment.png]]</li> | |
+ | </ol> | ||
+ | <br> | ||
----------------- | ----------------- | ||
[[Swordfish_Documentation |Swordfish Documentation Home]] <br/> | [[Swordfish_Documentation |Swordfish Documentation Home]] <br/> | ||
[[Swordfish | Swordfish Wiki Home]] <br/> | [[Swordfish | Swordfish Wiki Home]] <br/> |
Latest revision as of 09:27, 1 July 2009
Debugging third-party plug-ins
This section contains instructions on how to inspect the source code of third-party plug-ins (delivered together with the Swordfish run-time platform) during the debug session.
To inspect the source code of the third-party plug-in
- Check out the appropriate plug-in project from the Swordfish Repository into your workspace.
- Check if the project contains source-bundle sub-directory with plug-in sources. If this directory is present you can browse the plug-in source code or debug third-party plug-ins. If the source code directory is missing, add it by following the instructions in the next section.
To add source-bundle to third-party plug-in project
See instructions in the source codes for third-party plug-ins. These are organized in form of source-bundles according to the rules defined by Eclipse Orbit project.
To create a source bundle:
- Get the source code for the third-party plug-in (plug-in version information can be found in the plug-in's manifest file) and add it to the project as described on the Eclipse Orbit wiki.
- Attach the source code to the plug-in's binaries as shown in this picture: