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 99400 - [DEBUGGER] RubyDebuggerException when debugged script requires 'debug.rb'
Summary: [DEBUGGER] RubyDebuggerException when debugged script requires 'debug.rb'
Status: VERIFIED FIXED
Alias: None
Product: ruby
Classification: Unclassified
Component: Debugger (show other bugs)
Version: 6.x
Hardware: All All
: P4 blocker (vote)
Assignee: Martin Krauskopf
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-03-29 16:02 UTC by Tomas Danek
Modified: 2007-08-13 15:50 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Tomas Danek 2007-03-29 16:02:27 UTC
NetBeans IDE Dev (Build 070327)
1.6.0-rc; Java HotSpot(TM) Client VM 1.6.0-rc-b99
Windows XP version 5.1 running on x86
en_US (nb); Cp1252
+ fresh ruby1 cluster
-----------------------------------------------------------------------
P4 since i'm not aware why anyone would do this:-)

org.rubyforge.debugcommons.RubyDebuggerException: Unable to read added
breakpoint number in the specified timeout [10s]
	at
org.rubyforge.debugcommons.ReadersSupport.readBreakpointNo(ReadersSupport.java:162)
	at
org.rubyforge.debugcommons.RubyDebuggerProxy.addBreakpoint(RubyDebuggerProxy.java:168)
	at
org.rubyforge.debugcommons.RubyDebuggerProxy.setBreakpoints(RubyDebuggerProxy.java:159)
	at
org.rubyforge.debugcommons.RubyDebuggerProxy.startClassicDebugger(RubyDebuggerProxy.java:99)
	at
org.rubyforge.debugcommons.RubyDebuggerProxy.startDebugging(RubyDebuggerProxy.java:77)
	at
org.netbeans.modules.ruby.debugger.RubyDebugger.startDebugging(RubyDebugger.java:111)
	at org.netbeans.modules.ruby.debugger.RubyDebugger.debug(RubyDebugger.java:58)
	at
org.netbeans.modules.ruby.rubyproject.RubyActionProvider$1.run(RubyActionProvider.java:241)
	at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:541)
[catch] at
org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:963)
Comment 1 Martin Krauskopf 2007-03-29 16:09:54 UTC
Yes, debugging debugger is not supported yet. Not sure how soon will be.
Comment 2 Jiri Kovalsky 2007-07-03 14:13:44 UTC
Reassigning this issue to newly created 'ruby' component.
Comment 3 Martin Krauskopf 2007-07-19 11:10:47 UTC
I've disallowed to call set_trace_func (by aliasing and overriding the method) by debuggee so when you try to do so,
your program raises an exception bearing appropriate information.

external/debug-commons-0.9.4.tar.gz;
new revision: 1.5; previous revision: 1.4
debugger/manifest.mf;
new revision: 1.2; previous revision: 1.1
Comment 4 Tomas Danek 2007-08-13 15:50:30 UTC
yes, there's a message Cannot call 'set_trace_func' method during debugging session. (RuntimeError), verified.