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.
20070813 ----------- ruby+classic debugger code: require('thread') a = Thread.start{ puts "aaaaaaaaaaaaa" } b = Thread.start{ puts "bbbbbbbbbb" } puts "ccc" sleep 2 breakpoints, on each puts in thread. started debugger, debugger stopped at puts "aaaaaaaaa". Pushed F8 (probably more times), nothing happened. Invoked threads view, got the exception: org.rubyforge.debugcommons.RubyDebuggerException: Unable to read information in the specified timeout [10s] at org.rubyforge.debugcommons.ReadersSupport.readInfo(ReadersSupport.java:143) at org.rubyforge.debugcommons.ReadersSupport.readFrames(ReadersSupport.java:158) at org.rubyforge.debugcommons.RubyDebuggerProxy.readFrames(RubyDebuggerProxy.java:293) at org.rubyforge.debugcommons.model.RubyThread.getFrames(RubyThread.java:27) ... attaching full log. at org.rubyforge.debugcommons.model.RubyThread.getTopFrame(RubyThread.java:40)
Created attachment 46518 [details] log
It is because of evaluation of 'sleep'. Might be fixed somehow in the backend. E.g. run evaluation in separate thread and give up after ten seconds. Should be fixed in 6.0 time frame.
Actually dupe of 101120. There is already 10s timeout (to prevent never-ending wait). It is similar to try to evaluate 'exit'. *** This issue has been marked as a duplicate of 101120 ***
Also note that it is unlikely that it happens to you again after issue 112662 was fixed. Actually the issue 112662 was probably the reason why 'sleep' was evaluated. Should not happen anymore.