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 143708 - [65cat] [core] Unable to debug any ruby application using native Ruby
Summary: [65cat] [core] Unable to debug any ruby application using native Ruby
Status: RESOLVED FIXED
Alias: None
Product: ruby
Classification: Unclassified
Component: Rails (show other bugs)
Version: 6.x
Hardware: PC Linux
: P2 blocker (vote)
Assignee: Erno Mononen
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-08-13 07:24 UTC by esmithbss
Modified: 2008-09-05 09:31 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
IDE Log from debugging attempt. (79.35 KB, text/plain)
2008-08-13 07:29 UTC, esmithbss
Details
IDE Log file with enhanced logging. (66.27 KB, text/plain)
2008-08-31 10:42 UTC, esmithbss
Details

Note You need to log in before you can comment on or make changes to this bug.
Description esmithbss 2008-08-13 07:24:35 UTC
[ BUILD # : 200808120201 ]
[ JDK VERSION : 1.6.0_07 ]

When launching my program in debug mode, the resulting output is:

Fast Debugger (ruby-debug-ide 0.2.1) listens on localhost:53502
=> Booting Mongrel (use 'script/server webrick' to force WEBrick)
=> Rails application starting on http://0.0.0.0:3000
=> Call with -d to detach
=> Ctrl-C to shutdown server
** Starting Mongrel listening at 0.0.0.0:3000
** Starting Rails with development environment...
Exiting



There is no additional information in the application log file or in
the IDE log file.
Comment 1 esmithbss 2008-08-13 07:29:09 UTC
Created attachment 67208 [details]
IDE Log from debugging attempt.
Comment 2 Erno Mononen 2008-08-18 11:40:24 UTC
Seems to work for me, could you please try again with more detailed logging enabled (http://wiki.netbeans.org/
FaqRubyNBLogging) and attach the log file here again then? Does the application run as expected when not debugging? 
Reassigning to debugger for now (may turn out to be a rails issue).
Comment 3 esmithbss 2008-08-31 10:42:51 UTC
Created attachment 68721 [details]
IDE Log file with enhanced logging.
Comment 4 esmithbss 2008-08-31 10:47:27 UTC
This issue still exists in 200808301401.  In this version, when the debugger dies it leaves a message in the status bar
saying it is unable to open http://localhost:3000.

The log indicates that WebBrick couldn't be started in 4 seconds.
Comment 5 Martin Krauskopf 2008-09-04 10:10:31 UTC
Debugger started successfully and it also started debuggee successfully (Webrick).
Comment 6 esmithbss 2008-09-04 20:52:09 UTC
Confirmed working on this end.  It looks like the connection to Webrick is working again for native debugging.
Comment 7 Erno Mononen 2008-09-05 08:38:13 UTC
Unfortunately I can't tell from the log why the startup failed, is there anything interesting in the log files in the 
log folder? Or is this now working for you and the issue can be closed?
Comment 8 esmithbss 2008-09-05 09:09:46 UTC
Debugging using native ruby is working properly for me as of 200809031401, so this issue can be closed.
Comment 9 Erno Mononen 2008-09-05 09:31:29 UTC
Thanks for confirming. I'm closing the issue as fixed then, even if we don't know what exactly fixed this.