Skip to main content

Notice: This Wiki is now read only and edits are no longer 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"

 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
==Debugging third-party plug-ins==
 
==Debugging third-party plug-ins==
This section contains information on how to inspect during debug session source code of third-party plug-ins delivered together with the Swordfish runtime platform.
+
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 source code of third-party plug-in==
+
==To inspect the source code of the third-party plug-in==
 
<ol>
 
<ol>
<li>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.</li>
+
<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 contains <b>source-bundle</b> subdirectory with plug-in sources. In case if this directory is present you can already browse plugin source code or debug third-party plug-in. If the source code directory is missing you can add it according to the instructions below.</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>
 
</ol>
  
 
==To add source-bundle to third-party plug-in project==
 
==To add source-bundle to third-party plug-in project==
Source codes for third-party plug-ins are organized in form of source-bundles according to rules described by [http://wiki.eclipse.org/Orbit_Source_Bundles Eclipse Orbit 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].
  
 
To create a source bundle:
 
To create a source bundle:
 
<ol>
 
<ol>
<li>Get source code for third-party plug-in (information like plug-in version can be found in the plug-in's manifest file) and add it to the project as described on Eclipse Orbit [http://wiki.eclipse.org/Orbit_Bundle_Checklist#Create_a_Source_Bundle wiki].</li>
+
<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 source to the plug-in's binary code as shown on the picture below:<br/>
+
<li>Attach the source code to the plug-in's binaries as shown in this picture:<br/>
 
[[Image:Source_bundle_attachment.png]]</li>
 
[[Image:Source_bundle_attachment.png]]</li>
 
</ol>
 
</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