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.

Bug 155760 - org.rubyforge.debugcommons.RubyDebuggerException: Interruped during reading added breakpoint number
Summary: org.rubyforge.debugcommons.RubyDebuggerException: Interruped during reading a...
Status: NEW
Alias: None
Product: ruby
Classification: Unclassified
Component: Debugger (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: issues@ruby
URL: http://statistics.netbeans.org/except...
Keywords:
Depends on:
Blocks:
 
Reported: 2008-12-18 14:39 UTC by pribyl
Modified: 2016-08-14 00:28 UTC (History)
3 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 144526


Attachments
stacktrace (3.24 KB, text/plain)
2008-12-18 14:39 UTC, pribyl
Details
stacktrace (1.52 KB, text/plain)
2009-08-26 19:52 UTC, mistertek
Details
stacktrace (1.53 KB, text/plain)
2009-11-12 00:02 UTC, esmithbss
Details
stacktrace (1.53 KB, text/plain)
2009-11-12 00:03 UTC, esmithbss
Details
stacktrace (1.53 KB, text/plain)
2009-11-12 00:04 UTC, esmithbss
Details

Note You need to log in before you can comment on or make changes to this bug.
Description pribyl 2008-12-18 14:39:29 UTC
Build: NetBeans IDE Dev (Build 200812180001)
VM: Java HotSpot(TM) Client VM, 11.0-b15, Java(TM) SE Runtime Environment, 1.6.0_10-rc-b28
OS: Windows XP, 5.1, x86

User Comments:
pribyl: I interrupted the debugging process of Ruby application.

What I did before:
- Downloaded ruby-debug-ide 0.4.2 from https://rubyforge.org/projects/debug-commons/
- Installed downladed gem in NB and restarted NB
- Tried to debug simple ruby code (with one breakpoint)
- Interrupted the "rubyapplication (run)" process, using the "X" button in the bottom-right and confirmed the dialog (Really cancel the runing application? - or something like that)

-> The Exception was thrown



Stacktrace: 
org.rubyforge.debugcommons.RubyDebuggerException: Interruped during reading added breakpoint number
        at org.rubyforge.debugcommons.ReadersSupport.poll(ReadersSupport.java:230)
        at org.rubyforge.debugcommons.ReadersSupport.readAddedBreakpointNo(ReadersSupport.java:200)
        at org.rubyforge.debugcommons.RubyDebuggerProxy.addBreakpoint(RubyDebuggerProxy.java:209)
        at org.rubyforge.debugcommons.RubyDebuggerProxy.setBreakpoints(RubyDebuggerProxy.java:191)
        at org.rubyforge.debugcommons.RubyDebuggerProxy.attachToRubyDebug(RubyDebuggerProxy.java:163)
        at org.rubyforge.debugcommons.RubyDebuggerProxy.attach(RubyDebuggerProxy.java:124)
Comment 1 pribyl 2008-12-18 14:39:33 UTC
Created attachment 75134 [details]
stacktrace
Comment 2 Peter Pis 2008-12-18 15:02:16 UTC
Reassigning to ruby. It seems to be related to #148583.
Comment 3 Martin Krauskopf 2008-12-19 10:06:48 UTC
Reproducible, will try to fix for 7.0. Thanks for the catch.
Comment 4 mistertek 2009-08-26 19:52:05 UTC
This issue was originally marked as duplicate of issue 150820, that is already resolved. This issue is still valid, so this seems to be another issue, but it might be related.

Build: NetBeans IDE 6.7.1 (Build 200907230233)
VM: Java HotSpot(TM) Client VM, 10.0-b23, Java(TM) SE Runtime Environment, 1.6.0_07-b06
OS: Windows XP, 5.1, x86

User Comments: 
trying to debug a script. I clicked the "debug file" option under the debug menu.

Stacktrace: 
org.rubyforge.debugcommons.RubyDebuggerException: Unable to read added breakpoint number in the specified timeout [15s]
        at org.rubyforge.debugcommons.ReadersSupport.poll(ReadersSupport.java:224)
        at org.rubyforge.debugcommons.ReadersSupport.readAddedBreakpointNo(ReadersSupport.java:200)
        at org.rubyforge.debugcommons.RubyDebuggerProxy.addBreakpoint(RubyDebuggerProxy.java:209)
        at org.rubyforge.debugcommons.RubyDebuggerProxy.setBreakpoints(RubyDebuggerProxy.java:191)
        at org.rubyforge.debugcommons.RubyDebuggerProxy.attachToClassicDebugger(RubyDebuggerProxy.java:151)
        at org.rubyforge.debugcommons.RubyDebuggerProxy.attach(RubyDebuggerProxy.java:121)
Comment 5 mistertek 2009-08-26 19:52:09 UTC
Created attachment 86708 [details]
stacktrace
Comment 6 esmithbss 2009-11-12 00:02:15 UTC
Created attachment 90866 [details]
stacktrace
Comment 7 esmithbss 2009-11-12 00:03:16 UTC
Created attachment 90867 [details]
stacktrace
Comment 8 esmithbss 2009-11-12 00:04:15 UTC
Created attachment 90868 [details]
stacktrace