[phpBB Debug] PHP Warning: in file [ROOT]/phpbb/session.php on line 583: sizeof(): Parameter must be an array or an object that implements Countable
[phpBB Debug] PHP Warning: in file [ROOT]/phpbb/session.php on line 639: sizeof(): Parameter must be an array or an object that implements Countable
Gephi forumsPlease post new questions on facebook group too (https://www.facebook.com/groups/gephi) 2017-08-20T10:59:37+01:00 https://forum-gephi.org/app.php/feed/topic/6269 2017-08-20T10:59:37+01:002017-08-20T10:59:37+01:00 https://forum-gephi.org/viewtopic.php?t=6269&p=14549#p14549 <![CDATA[Re: Plugin development in Netbeans: breakpoints not working.]]> Statistics:Posted by olavla — 20 Aug 2017 10:59


]]>
2017-08-20T09:06:21+01:002017-08-20T09:06:21+01:00 https://forum-gephi.org/viewtopic.php?t=6269&p=14548#p14548 <![CDATA[Plugin development in Netbeans: breakpoints not working.]]>
ff.jpeg
Hi,

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
-Install gephi-plugins-master.zip
-mvn org.gephi:gephi-maven-plugin:generate
-put all the code in place
-mvn clean package
-mvn org.gephi:gephi-maven-plugin:run

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!

Image

Statistics:Posted by olavla — 20 Aug 2017 09:06


]]>