Debugging plugin source code

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Debugging plugin source code

Fabian Pursche
Hello to everyone,

does anybody know a posibility for debugging a source code of a plugin? I
wrote my source in eclipse, but the code can't be debugged with it. Maybe
there is a special plugin for eclipse or even for ImageJ.

Thanks for any help
Fabian Pursche
Reply | Threaded
Open this post in threaded view
|

Re: Debugging plugin source code

Jan Stuehmer
Hi Fabian,

all you need to do is to start ImageJ within Eclipse in debugging mode.

Setting up an Eclipse project with ImageJ is described here:
The ImageJ Eclipse HOWTO
http://imagejdocu.tudor.lu/imagej-documentation-wiki/Members/ppirrotte/howtos/the-imagej-eclipse-howto/

You can find the appropiate settings for Eclipse's Run.. command on the
bottom of this page:
Micah Kimo Johnson - Developing ImageJ Plugins in Eclipse
http://www.mit.edu/~kimo/blog/computer/imagej_eclipse.html

Then simply click on Debug to start the whole ImageJ Application in
debugging mode.

Hope that solved the problem,
Jan

Fabian Pursche schrieb:

> Hello to everyone,
>
> does anybody know a posibility for debugging a source code of a plugin? I
> wrote my source in eclipse, but the code can't be debugged with it. Maybe
> there is a special plugin for eclipse or even for ImageJ.
>
> Thanks for any help
> Fabian Pursche
>
>