Page 1 of 1
debug a workspace plugin
Posted: Fri Feb 17, 2012 10:04 pm
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
Re: debug a workspace plugin
Posted: Mon Feb 20, 2012 11:47 am
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
Re: debug a workspace plugin
Posted: Tue Feb 21, 2012 8:55 pm
by TimWallace
I performed the steps outlined in the second link you provided, but I still get an error. I replied to that thread.
Re: debug a workspace plugin
Posted: Tue Feb 21, 2012 9:04 pm
by TimWallace
I got it working. I had to add back in another JAR beyond what was listed.
Thanks.