I was happily building projects using netbeans 3.6, and was able to debug,
single step, or step into, any of my code I liked.
I then migrated to netbeans 4.0, and used the new project wizard to create a
new 'Java Project with Existing Sources'.
Everything builds fine.
I can run the program (F5).
I can set a breakpoint and the IDE reports the program is stopped at the
breakpoint, except there is no 'green arrow' in the source window pointing
into the line where the breakpoint occured.
If I try to step (F8) or step into (F7), the program continues execution, as
if I had pressed (ctrl-F5) instead.
netbeans debug problem ... I was happily building projects using netbeans 3.6, and was able to debug,... I can set a breakpoint and the IDE reports the program is stopped at the ... except there is no 'green arrow' in the source window pointing... (comp.lang.java.gui)
Debug a Swing App ... I'm a newbie to netbeans and I can't figure out how to step debug a ...Swing Application. ... I set a breakpoint but it didn't stop when it should have. ... (comp.lang.java.help)
Re: NetBeans project run arguments ... This worked fine in IntelliJ.... I tried with NetBeans 5.0 - set main project, set Main Class to class I wanted to test and set run arguments in project properties, started "Debug Main Project", set breakpoint to first statement in main- arguments were passed OK. ... (comp.lang.java.help)
Re: Cannot set Breakpoint on Netbeans 6.1 ...NetBeans has no control over which breakpoints the JVM will accept. ... I don't have an exact explanation, but in my experience, this line was optimized away by the compiler. ... You'll just have to set the breakpoint nearby, or figure out why the code is being compiled the way it is and change it so the line is executed. ... (comp.lang.java.help)