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 162010 - [70cat][67cat] org.rubyforge.debugcommons.RubyDebuggerException: Unable to read added breakpoint number in the specified timeout [15s]
Summary: [70cat][67cat] org.rubyforge.debugcommons.RubyDebuggerException: Unable to re...
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: 2009-04-06 05:16 UTC by esmithbss
Modified: 2012-04-13 15:26 UTC (History)
3 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 148974


Attachments
stacktrace (917 bytes, text/plain)
2009-04-06 05:16 UTC, esmithbss
Details
stacktrace (916 bytes, text/plain)
2009-04-16 17:00 UTC, Martin Fousek
Details
IDE Log File (218.33 KB, text/plain)
2009-10-02 20:14 UTC, esmithbss
Details
Test Project associated with http://statistics.netbeans.org/analytics/exception.do?id=439483 (113.87 KB, application/x-java-archive)
2010-11-17 18:33 UTC, esmithbss
Details
Actual Project. Other Zip is Database. (91.59 KB, application/x-java-archive)
2010-11-17 20:50 UTC, esmithbss
Details

Note You need to log in before you can comment on or make changes to this bug.
Description esmithbss 2009-04-06 05:16:45 UTC
Build: NetBeans IDE Dev (Build 200904011705)
VM: Java HotSpot(TM) Client VM, 11.2-b01, Java(TM) SE Runtime Environment, 1.6.0_12-b04
OS: Linux, 2.6.27-14-generic, i386

User Comments:
GUEST: debugging my rails app

GUEST: Everytime I'm starting debugging session such error occurs.
I tried to increase timeout - but still it's not helping just like as reinstalling IDE and gems.
I've downloaded 7.0M version that uses newest versions of debugger - it's not helping also.

I have a lot of classes opened in separate panels (up to 90), and lots of them do have breakpoints added on them.
First I was managed to debug when I deleted some breakpoints, when it stopped helping me I deleted all breakpoints (leaving only one from which I wanted to start). Debugger started 50/50 for a first few days, and now it's 0/100. 
I haven't updated or installed any new software, gems (except debugger 0.4.1 for IDE 7.0M) for half of a year and that's how long I'm fighting debugger in NetBeans with different ways.

Thank you.

GUEST: I just started debugging my application.
NetBeans 6.5, Ruby latest stable. Ruby-debug-ide 0.3.4.

esmithbss: Launching a Ruby on Rails application as a debug process to Glassfish V3.  During launch, I added 5 breakpoints to my code.

sunbiz: Stopped Glassfish v3 server while debugging a rails project

GUEST: Hit a break point, set another break point in a different file, continued from the different file.

esmithbss: Debugging the application switching back and forth between IDE and Browser

esmithbss: While Debugging a ruby application, I added a breakpoint while the application was executing.

esmithbss: Launching debugger for an RoR application.

esmithbss: Attempting to view source within my browser for a page that has a breakpoint associated with it.

GUEST: I cannot read cookie data through a observer method.
I am looking for this reason.



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.netbeans.modules.ruby.debugger.breakpoints.RubyBreakpointManager.addLineBreakpoint(RubyBreakpointManager.java:90)
        at org.netbeans.modules.ruby.debugger.breakpoints.RubyBreakpointActionProvider.doAction(RubyBreakpointActionProvider.java:92)
        at org.netbeans.spi.debugger.ActionsProvider$1.run(ActionsProvider.java:112)
Comment 1 esmithbss 2009-04-06 05:16:57 UTC
Created attachment 79500 [details]
stacktrace
Comment 2 Martin Fousek 2009-04-16 17:00:26 UTC
Build: NetBeans IDE 6.5 (Build 200811100001)
VM: Java HotSpot(TM) Client VM, 11.3-b02, Java(TM) SE Runtime Environment, 1.6.0_13-b02
OS: Linux, 2.6.27-11-generic, i386

User Comments: 


Stacktrace: 
org.rubyforge.debugcommons.RubyDebuggerException: Unable to read added breakpoint number in the specified timeout [15s]
        at org.rubyforge.debugcommons.ReadersSupport.poll(ReadersSupport.java:203)
        at org.rubyforge.debugcommons.ReadersSupport.readAddedBreakpointNo(ReadersSupport.java:179)
        at org.rubyforge.debugcommons.RubyDebuggerProxy.addBreakpoint(RubyDebuggerProxy.java:185)
        at org.netbeans.modules.ruby.debugger.breakpoints.RubyBreakpointManager.addLineBreakpoint(RubyBreakpointManager.java:90)
        at org.netbeans.modules.ruby.debugger.breakpoints.RubyBreakpointActionProvider.doAction(RubyBreakpointActionProvider.java:89)
        at org.netbeans.spi.debugger.ActionsProvider$1.run(ActionsProvider.java:105)
Comment 3 Martin Fousek 2009-04-16 17:00:38 UTC
Created attachment 80281 [details]
stacktrace
Comment 4 Martin Krauskopf 2009-08-26 15:06:19 UTC
It would if somebody (who is able to reproduce) would attach detailed log as described at:

  http://wiki.netbeans.org/RubyDebugging#section-RubyDebugging-HowToFileABug

But since the nature of this issue is usually random we apparently need to add more diagnostics into debug-commons-java
and possibly other layers to emit helpful information. The code probably needs some overhaul.
Comment 5 esmithbss 2009-10-02 20:11:31 UTC
I just encountered this again (http://statistics.netbeans.org/analytics/exception.do?id=271779)

See attached IDE log.  Steps in exception report.  Project files in #173641.
Comment 6 esmithbss 2009-10-02 20:14:06 UTC
Created attachment 88769 [details]
IDE Log File
Comment 7 esmithbss 2010-11-17 18:33:06 UTC
Attached test project for exception http://statistics.netbeans.org/analytics/exception.do?id=439483

Breakpoint added to line posts_controller.rb:27
Comment 8 esmithbss 2010-11-17 18:33:11 UTC
Created attachment 103043 [details]
Test Project associated with http://statistics.netbeans.org/analytics/exception.do?id=439483
Comment 9 esmithbss 2010-11-17 20:50:07 UTC
Created attachment 103045 [details]
Actual Project.  Other Zip is Database.