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 143273 - Rails debugger timeout in NB 6.5 trunk build 3314
Summary: Rails debugger timeout in NB 6.5 trunk build 3314
Status: RESOLVED FIXED
Alias: None
Product: ruby
Classification: Unclassified
Component: Debugger (show other bugs)
Version: 6.x
Hardware: PC Windows XP
: P1 blocker (vote)
Assignee: Martin Krauskopf
URL:
Keywords: REGRESSION
Depends on:
Blocks:
 
Reported: 2008-08-08 08:30 UTC by fx3000se
Modified: 2008-08-09 03:44 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
log file (55.12 KB, text/plain)
2008-08-08 13:44 UTC, fx3000se
Details
downgrading to ruby-debug-ide 0.2.0 didn't help (53.49 KB, text/plain)
2008-08-08 15:03 UTC, fx3000se
Details
3275 log (45.59 KB, text/plain)
2008-08-08 15:18 UTC, fx3000se
Details

Note You need to log in before you can comment on or make changes to this bug.
Description fx3000se 2008-08-08 08:30:52 UTC
env details:
ruby 1.8.6 p111
mongrel 1.1.5

I am getting timeouts when trying to launch the Rails Debugger in build 3314 (and 3305).
If I switch back to build 3275 the debugger launches as expected.
Comment 1 Martin Krauskopf 2008-08-08 12:39:42 UTC
Could you attach logs as described at:

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

It works for me. Thanks.
Comment 2 fx3000se 2008-08-08 13:44:30 UTC
Created attachment 66895 [details]
log file
Comment 3 Martin Krauskopf 2008-08-08 14:45:51 UTC
For some reason, NetBeans cannot connect to the successfully started debugger. Could you try to downgrade ruby-debug-ide
to 0.2.0 from IDE or from CLI by:

  cgem uninstall ruby-debug-ide
  cgem install ruby-debug-ide -v 0.2.0

restart NetBeans (if you used command-line) and try it again. There were some tweak in ruby-debug-ide 0.2.1 which might
be the culprit of this.
Comment 4 fx3000se 2008-08-08 15:03:26 UTC
Created attachment 66901 [details]
downgrading to ruby-debug-ide 0.2.0 didn't help
Comment 5 fx3000se 2008-08-08 15:06:18 UTC
I would like to rephrase:
build 3275 still works like a charm. So to me the problem "entered" btw 3275 and 3314
Comment 6 Martin Krauskopf 2008-08-08 15:13:48 UTC
Ok, could you attach the log from 3275? I do not have access to Windows at the moment to check it. Trying so in the
meantime. Will check for changes.
Comment 7 fx3000se 2008-08-08 15:18:09 UTC
Created attachment 66905 [details]
3275 log
Comment 8 Martin Krauskopf 2008-08-08 15:26:17 UTC
Just to be sure. I suppose that debugging non-rails app does not work as well.
Comment 9 Martin Krauskopf 2008-08-08 15:35:04 UTC
Great, I've revived one old Windows machine and I'm able to reproduce problem with simple hello world. Thanks for the
catch. Will try to fix today (having kind of non-ready out-dated Windows machine)
Comment 10 Martin Krauskopf 2008-08-08 16:02:59 UTC
Fixed: #0f7ba3d426c8

It was caused by recent commit into debug-commons-java. I've reverted it. It helped me on my windows. Let me know
whether it helps you as well. I suppose it will be available in build 3324 and later.
Comment 11 Quality Engineering 2008-08-09 03:44:03 UTC
Integrated into 'main-golden', available in build *200808090201* on http://bits.netbeans.org/dev/nightly/
Changeset: http://hg.netbeans.org/main/rev/0f7ba3d426c8
User: Martin Krauskopf <mkrauskopf@netbeans.org>
Log: - Rails debugger timeout (issue #143273)
- debug-commons-java change:
  - Do NOT use InetAddress.getLocalHost() instead of "localhost". It does not
    work on Windows for some reason: