Java debugger in Fiji

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

Java debugger in Fiji

Neil Fazel
I'm using Fiji on Mac (Snow Leopard). I have written a Java program, put it in the plugins directory and compiled it. Now I'm trying to debug it in the Script Editor. When I use Run -> Start Debugging, a dialog pops up with the message: "Plugin or class not found...."

What do I need to do in order to get the debugger to find the plugin? (I tried to install the plugin using Plugins -> Install PlugIn..., but the Fiji directory on Mac OS is a package and I haven't found a way to navigate to the plugins directory when the "Install PlugIn..." dialog pops up.)

Thanks in advance.

Neil

--
ImageJ mailing list: http://imagej.nih.gov/ij/list.html
Reply | Threaded
Open this post in threaded view
|

Re: Java debugger in Fiji

dscho
Hi Neil,

On Fri, 8 Nov 2013, Neil Fazel wrote:

> I'm using Fiji on Mac (Snow Leopard). I have written a Java program, put
> it in the plugins directory and compiled it. Now I'm trying to debug it
> in the Script Editor. When I use Run -> Start Debugging, a dialog pops
> up with the message: "Plugin or class not found...."

Unfortunately, our Google Summer of Code student who implemented the
script editor left abruptly after that summer of code (actually, as soon
as the money stopped running, leaving me with about 3.5 weeks of full-time
work to clean things up, ask Jean-Yves Tinevez who could not sleep while I
was typing in Plzen if you're up for a fun story ;-))

Short story: the script editor does not support debugging.

Slightly longer story: it is better to follow
http://fiji.sc/Debugging#Debugging_plugins_in_an_IDE_.28Netbeans.2C_IntelliJ.2C_Eclipse.2C_etc.29
if you want to debug plugins.

Ciao,
Johannes

--
ImageJ mailing list: http://imagej.nih.gov/ij/list.html
Reply | Threaded
Open this post in threaded view
|

Re: Java debugger in Fiji

Peter Mc
In reply to this post by Neil Fazel
Hi Neil;

What about to use an IDE for debugging?

Interesting story  Johannes, XD.

See you.
Research engineer
HGGM. Madrid.
Reply | Threaded
Open this post in threaded view
|

Re: Java debugger in Fiji

dscho
Hi Peter,

On Sat, 9 Nov 2013, Peter Mc wrote:

> What about to use an IDE for debugging?

That is exactly what I suggested, plus the additional information about
using Fiji's convenience functions to overcome ImageJ 1.x's limitations to
recognize plugins, no? I tried to aggregate all the knowledge about IDE
debugging in the page http://fiji.sc/Debugging and in the classes
referenced therein.

What did I miss, thereby triggering your mail?

Ciao,
Johannes

--
ImageJ mailing list: http://imagej.nih.gov/ij/list.html