I'm developing a Gephi (filter) plugin in Netbeans and although the plugin run fine, running it in debug mode with a breakpoint never breaks (although I'm sure to hit the code).
How can I ensure it breaks so I can step through my code?
These are my steps:
-Install NetBeans & Maven
-put all the code in place
-mvn clean package
Result: code works 100%
Now I open NetBeans > Open Project & add the plugin folder.
-It shows my plugin as module.
-I double click the module and it opens as its own section (see sceenshot; Module BackTracer)
-I can't run the module on it's own - it can't find certain dependencies.
-I can run the Gephi-plugin project: it starts Gephi and my plugin runs fine.
Now I add some breakpoints in the Module BackTracer, specifically in the BackTracerBuilder (on various points, methods & line breakpoints). I also defined a Class entry breakpoint.
None of those breakpoints ever hit. Why?
Btw: in NetBeans the code shows as containing a lot of errors. However, this is code 100% copied from an existing plugin with some names changed. It runs 100% functional and mvn org.gephi:gephi-maven-plugin:validate doesn't give me any errors/warning. Weird right?
Thanks for your inputs!
Please use a mailing-list, see http://gephi.org/developers/
2 posts • Page 1 of 1
Solution was to start from scratch and build a new plugin. For some reason the plugin was installed but never updated when I executed, and thus it never hit the code.