I have quite a bit of experience with programming in general, but now I wanted to take a stab at modifying an existing fiji plugin using Netbeans. I have no problem getting the plugin code from github and into Netbeans. I can even modify it, compile it and add it to the plugin folder to run it in my copy of fiji.
My main problem setting it up so I can debug the modified plugin in netbeans using breakpoints.
I have looked at the available online documentation, but most info seems to be outdated or not very elaborate. So what would be the best way to set this up?
I’m currently working on the plugin code only, so I need some sort of main class to call the plugin from and pass info to it.I found some documentation on fiji-lib, http://imagej.net/Developing_ImageJ_in_Eclipse, but I don’t seem to be able to get it to work. Maybe I’m missing some crucial piece of info?
If anybody could give me a clear (dummi-proof) step-by-step explanation on how to configure this, I would be most grateful.
UPDATE: I made some progress in getting the fiji-lib to work (I think I broke some maven link in my POM earlier) . I put a basic main class in the test package and this now starts up fiji for debugging in netbeans. It just doesn’t seen to find my plugin which is in the main source package(Gives an ‘unrecognised command’-error) . Any suggestions on how to formulate the Debug.runFilter() correctly?