debug a workspace plugin

Having trouble installing Oxygen? Got a bug to report? Post it all here.
TimWallace
Posts: 10
Joined: Thu Nov 17, 2011 10:49 pm

debug a workspace plugin

Post by TimWallace »

I am using Eclipse to write a workspace plugin. The plugin works when I put it in the Author plugin folder. However, I need to be able to debug the plugin. How do I set up the Eclipse debug configuration to be able to debug my Oxygen plugin in Eclipse?

Tim
Radu
Posts: 9448
Joined: Fri Jul 09, 2004 5:18 pm

Re: debug a workspace plugin

Post by Radu »

Hi Tim,

There is a large thread discussing this:
http://www.oxygenxml.com/forum/post18565.html

And this particular reply should help:

http://www.oxygenxml.com/forum/post1496 ... gin#p14949

Basically Oxygen is a Java application and you can look in the "author.bat" executable to see the main class file and the necessary classpath libraries necessary to get it started.

Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
TimWallace
Posts: 10
Joined: Thu Nov 17, 2011 10:49 pm

Re: debug a workspace plugin

Post by TimWallace »

I performed the steps outlined in the second link you provided, but I still get an error. I replied to that thread.
TimWallace
Posts: 10
Joined: Thu Nov 17, 2011 10:49 pm

Re: debug a workspace plugin

Post by TimWallace »

I got it working. I had to add back in another JAR beyond what was listed.

Thanks.
Post Reply