Chisel 
logo  Computer Human Interaction & Software 
Engineering Lab

Debugging Jambalaya

  1. Select your ca.uvic.csr.shrimp project in the Package Explorer
  2. Create a new Launch Configuration (under the Run > Debug... menu)
  3. Select Java Applications from the tree on the left
  4. and click the New Launch Configuration toolbar button

  5. Give your new configuration a name
  6. If the Project field is blank, click Browse... and select your Jambalaya project (e.g. ca.uvic.csr.shrimp)
  7. Check the Include libraries when searching for a main class checkbox. Then click the Search... button and type in Application in the dialog and you should see one matching type: Application - edu.stanford.smi.protege, Click OK
  8. Click the Arguments tab
  9. You can put something like this in the VM arguments field: -Xmx512M depending on how much memory your computer has. If you have 512MB or less memory, then you can leave this field empty. Otherwise I'd recommend setting this to -Xmx512M.
  10. At the bottom of the Arguments tab, select the Other radio button, and enter in the directory of your Protege installation. e.g. C:\Program Files\Protege 3.2 beta
  11. Next, click on the Classpath tab at the top.
  12. Select the User Enties item, and then click the Add External JARs… button on the right. Go into your Protégé directory and add the following files:
    • lax.jar
    • looks.jar
    • unicode_panel.jar
    • For OWL support only - add all the jars inside the Protégé\plugins\edu.stanford.smi.protegex.owl directory EXCEPT protégé-owl.jar (since it is already included inside Jambalaya).
  13. Click Apply at the bottom.
  14. To debug Jambalaya click the Debug button at the bottom.
  15. Important: you must have a version of Jambalaya installed in your Protege/plugins directory otherwise this won't work. It doesn't have to be the latest version of Jambalaya.

Creating a new launch configuration for debugging Jambalaya (and Protege) inside Eclipse

Creating a new launch configuration for debugging Jambalaya (and Protege) inside Eclipse

Creating a new launch configuration for debugging Jambalaya (and Protege) inside Eclipse


For instructions on importing Jambalaya into Eclipse click here.