Debug Plugin using Fiji and Netbeans

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

Debug Plugin using Fiji and Netbeans

nellypledge
Hi all, I hope you can help.

I can't seem to get my plugin to debug using Netbeans.  I've tried using:
import fiji.Debug;
public void main(String[] args) {
    Debug.run("MyPluginName", "");
}

but it just errors.

Do I need to have Fiji running?
What if I have my plugin in a subfolder, e.g. MyPluginGroup\MyPluginName?
How about the underscores?  Should it be the name shown in Fiji menus or the
name I have here, e.g. My_Plugin_?  (which is also the name of my class)
Where does my Debugger class need to be located in the project?  Does that
matter?  I have My_Plugin_ in the <default package> and everything else in a
different package under the source packages.


I even tried connecting to Fiji with the remote debugger (both listening and
attaching), but I don't know I had everything in the right place and got
nowhere.

Please help.  I'd love to be able to debug my plugins in Fiji, especially
now I've moved to learning to use Maven.

Thanks in advance for your time.

Neil






--
Sent from: http://imagej.1557.x6.nabble.com/

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