I'm looking for days now how to attach my debugger in netbeans. So we have a Start.java class where the jetty is embedded. Similar to this http://wiki.eclipse.org/Jetty/Tutorial/Embedding_Jetty So I start my web application by running this Start.java file. Everything works fine till the point where I want to debug. I've seen multiple how to's for eclipse and the very few I found for netbeans didnt help.
Does anyone have a clue?
In the project properties, under actions, I added
Env.MAVEN_OPTS=-Xms512m -Xmx512m -XX:PermSize=128m -XX:MaxPermSize=128m -Xverify:none -Xnoclassgc -Xrunjdwp:transport=dt_socket,address=8000,server=y,suspend=n
under Run file via main() and Debug file via main()
when I attach the java debugger (jpda) it seems as if its running but its ignoring the breakpoints
Has anyone any idea?
Thanks in advance