Skip to main content

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.

Jump to: navigation, search

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==
As it could be necessary in some situations to inspect source code of third-party bundles delivered together with Swordfish runtime platform this section provides short information on how to achieve this.
+
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.
Source code for thrird-party plug-ins is organized in form of source bundle using layout from Eclipse Orbit project.
+
 
+
==To debug third-party plug-in==
+
Checkout appropriate plug-in project from the [http://dev.eclipse.org/svnroot/rt/org.eclipse.swordfish/trunk/org.eclipse.swordfish.third-parties Swordfish Repository]
+
to your workspace.
+
Make sure that the projects contains "source-bundle" subdirectory with plug-in sources.
+
  
 +
==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/Orbit_Source_Bundles Orbit Source Bundles]
+
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

  1. Check out the appropriate plug-in project from the Swordfish Repository into your workspace.
  2. 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:

  1. 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.
  2. Attach the source code to the plug-in's binaries as shown in this picture:
    Source bundle attachment.png



Swordfish Documentation Home
Swordfish Wiki Home

Back to the top