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"

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 information on how to inspect during debug session source code of third-party plug-ins delivered together with the Swordfish runtime platform.
  
 
==To inspect source code of third-party plug-in==
 
==To inspect source code of 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.
+
<ol>
* 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 instruction below.
+
<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 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 instruction below.</li>
 +
</ol>
  
 
==To add source-bundle to third-party plug-in project==
 
==To add source-bundle to third-party plug-in project==
Line 10: Line 12:
  
 
To create a source bundle:
 
To create a source bundle:
* Get a source code for the third-party plug-in (information like plug-in version can be found in 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].
+
<ol>
 +
Get a source code for the third-party plug-in (information like plug-in version can be found in 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].
 
* Attach source to the plug-in's binary code as shown on the picture below.
 
* Attach source to the plug-in's binary code as shown on the picture below.
 
[[Image:Source_bundle_attachment.png]]
 
[[Image:Source_bundle_attachment.png]]
 +
</ol>
  
 
-----------------
 
-----------------
 
[[Swordfish_Documentation |Swordfish Documentation Home]] <br/>
 
[[Swordfish_Documentation |Swordfish Documentation Home]] <br/>
 
[[Swordfish | Swordfish Wiki Home]] <br/>
 
[[Swordfish | Swordfish Wiki Home]] <br/>

Revision as of 08:53, 30 June 2009

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.

To inspect source code of third-party plug-in

  1. Checkout appropriate plug-in project from the Swordfish Repository to your workspace.
  2. Check if the project contains contains source-bundle 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 instruction below.

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 Eclipse Orbit project.

To create a source bundle:

    Get a source code for the third-party plug-in (information like plug-in version can be found in plug-in's manifest file) and add it to the project as described on Eclipse Orbit wiki.
    • Attach source to the plug-in's binary code as shown on the picture below.
    Source bundle attachment.png

Swordfish Documentation Home
Swordfish Wiki Home

Copyright © Eclipse Foundation, Inc. All Rights Reserved.