This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
I start the program with the following Ant target: <target name="debug" depends="compile" description="Debug Project"> <fail unless="netbeans.home">This target can only run inside the NetBeans IDE.</fail> <nbjpdastart name="My App" addressproperty="jpda.address" transport="dt_socket"> <classpath path="lib/coffa.jar"/> </nbjpdastart> <echo message="${jpda.address}"/> <java fork="true" classname="de.coffa.gui.Coffa" classpath="lib/coffa.jar"> <jvmarg value="-Xdebug"/> <jvmarg value="-Xnoagent"/> <jvmarg value="-Djava.compiler=none"/> <jvmarg value="-Xrunjdwp:transport=dt_socket,address=${jpda.address}"/> </java> </target>
Is your project compiled with -g option (debug="true")?
Do you have all your sourceroots listen in Sources View? Just start debugging, go to Window menu / Debugging / Sources...
I added debug = true and now it stops on the right line but after F8 it does not go to the next line. It continues the execution. The sources view does not contain the sources from my project. Only JDK sources are there. Is it a freeform-bug? Why does not the debugger warn me about missing sources?
No chance to fix in 4.1.
Can you send a reproducible test-case where stepping fails? Thanks.
This seems to be a duplicate of issue #51096... But it's not yet fully reproduced...
Likely a freeform issue. It looks there are two associated issues: issue #52920 and issue #60640.
*** Issue 51096 has been marked as a duplicate of this issue. ***
*** Issue 76213 has been marked as a duplicate of this issue. ***
lebedkov: Could you please provide some reproducible steps?
Sorry, not 3 years after the initial post. The project does not exist anymore. Maybe other people who voted for this issue could provide a test case.
Have you run into this problem for latest builds? It seems to be already fixed.
ok