[NetBeans 6.5M1, Build 200806270102, JDK 1.6.0]
This was found when testing http://wiki.netbeans.org/TS_61_RubyDebugger Ruby Debugger - Section 9, Task 10.
1) Have a Ruby project on Built-in JRuby platform with main.rb file like:
if n<2 then #BREAKPOINT HERE
return fib(n-1) + fib(n-2)
5.times do |i|
puts fib(i) #BREAKPOINT HERE
2) Call debug, in Breakpoints view call context menu > Disable all
3) Call context menu > Enable all
ERROR: IDE freezes for 15 seconds
ERROR: Dialog appears 'Problem occured during debugger start: Unable to read added breakpoint number in the specified
timeout [15s]' (image attached)
ERROR: org.rubyforge.debugcommons.RubyDebuggerException occurs (Exception and thread dump attached)
ERROR: Debugging functions are now out of order (Continue, Step...).
NOTE: Disable all and Enable all works fine now :)
ERROR: This also causes the debug task to become unkillable exactly the same way as described in Issue 138449. Have to
kill it manually in OS.
NOTE: This does not happen with Ruby 1.8.6-p111 platform
Created attachment 63587 [details]
Created attachment 63588 [details]
Created attachment 63589 [details]
I'm not able to reproduce. It is random or does it happen always. If always could you provide detailed logs as described at:
I can't reproduce. Lowering priority, seems to be rare random issue. Please attach the logs as described if you are able
to reproduce, thanks.
Was fixed as part of issue #148583. Duping this one.
*** This issue has been marked as a duplicate of 148583 ***