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've written the following code as Groovy Class: 01 class GroovyTest { 02 def method(def list) { 03 list.each { 04 println "line1" 05 println "line2" 06 println "line3" 07 } 08 } 09 } When I've tried to put a breakpoint at line 3, it's worked fine. But when I've tried to put a breakpoint at line 4, 5 or 6 the debugger has not stopped at these lines. I can reach the lines 4, 5 and 6 only by pressing F7 (step into) button.
I think it also does not work in instance method invoke from script.
Quick fix in main a3ff285dd4c9. Prints some warnings, but should work. We need to spend more time on this.
Integrated into 'main-golden', will be available in build *200902030229* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main/rev/a3ff285dd4c9 User: phejl@netbeans.org Log: #151176 Groovy debug's break point doesn't work in closure
Because this works in fact (we just want to make the fix better) lowering to P4.