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 173171 - [68cat][ruby][debugger] Rake task errors swallowed under debugging
Summary: [68cat][ruby][debugger] Rake task errors swallowed under debugging
Status: NEW
Alias: None
Product: ruby
Classification: Unclassified
Component: Debugger (show other bugs)
Version: 6.x
Hardware: PC Linux
: P3 blocker (vote)
Assignee: issues@ruby
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-09-28 03:30 UTC by esmithbss
Modified: 2011-01-28 20:13 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
IDE Log File (201.44 KB, text/plain)
2009-09-28 03:31 UTC, esmithbss
Details

Note You need to log in before you can comment on or make changes to this bug.
Description esmithbss 2009-09-28 03:30:43 UTC
[200909221401]
[Sun JRE 1.6.*]

I am unable to launch any rake task with the debugging flag turned on.  Every time I attempt to do so, I receive:

java.net.ConnectException: Connection refused
...
Caused: org.rubyforge.debugcommons.RubyDebuggerException: Cannot connect to the debugged process at port 36973 in 15s:
Dumping and destroying process, when the debuggee process is running. You might try to increase the timeout. Killing...
...
Comment 1 esmithbss 2009-09-28 03:31:20 UTC
Created attachment 88420 [details]
IDE Log File
Comment 2 esmithbss 2009-09-28 03:32:58 UTC
When running without the debugger, it appears to take more than the allotted 15s for the processes to launch.
Comment 3 esmithbss 2009-09-28 04:12:04 UTC
Changing the name and priority.

It appears that the issue is actually one of the IDE taking too much time when there's any error in the rake task.  Even
if the rake task will launch and die later.

Here's the scenario.

I have a rake task which is syntactically correct, but one of the methods within an underlying lib should be self.xxxx
and not just xxxx.

If I have a lib like the one above, the IDE times out trying to launch the rake task under debugging.

Once I add the self. to the xxxx method, the rake task can launch as a debugging process correctly.


2)