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 133793 - Can't start webrick with debugging
Summary: Can't start webrick with debugging
Status: RESOLVED WORKSFORME
Alias: None
Product: ruby
Classification: Unclassified
Component: Debugger (show other bugs)
Version: 6.x
Hardware: All All
: P1 blocker (vote)
Assignee: Martin Krauskopf
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-04-23 19:26 UTC by jamespb
Modified: 2008-04-25 13:04 UTC (History)
1 user (show)

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 jamespb 2008-04-23 19:26:06 UTC
Choose Run > Debug main project.

In the output window, just get:
=> Booting WEBrick...

And then nothing else.

Product Version: NetBeans IDE Dev (Build 20080423132041)
Java: 1.6.0_03; Java HotSpot(TM) Client VM 1.6.0_03-b05
System: Linux version 2.6.22-14-generic running on i386; UTF-8; en_US (nb)
Userdir: /home/james/.netbeans/dev

Using MRI.

gems are:

ruby-debug (0.10.1, 0.10.0)
ruby-debug-base (0.10.1, 0.10.0)
ruby-debug-ide (0.1.10)

Config says that netbeans is using the fast debugger.
Comment 1 jamespb 2008-04-23 19:30:07 UTC
Tried again with only these gems installed, no difference:

ruby-debug (0.10.0)
ruby-debug-base (0.10.0)
ruby-debug-ide (0.1.10)
Comment 2 jamespb 2008-04-23 19:36:55 UTC
Also, clicking on the close box in the lower right hand corner for the debug process doesn't stop the debug session.
Comment 3 Petr Blaha 2008-04-24 10:09:11 UTC
James, do you able to reproduce the bug also in 6.1 FCS build? It seems that you use trunk build and the bug would be
related to issue #129049.
Comment 4 Martin Krauskopf 2008-04-24 15:11:58 UTC
Looking at it. Sorry, somehow missed it sooner.
Comment 5 Martin Krauskopf 2008-04-24 15:13:55 UTC
blaha> issue #129049 is completely about something else - about finishing.
Comment 6 Martin Krauskopf 2008-04-24 15:27:59 UTC
blaha> sorry, you probably reacted to the last James' comment

Anyway wrt. to the unsuccessful start. I can debug with exactly the same configuration (MRI 1.8.6-p114, RubyGems 1.1.1).
I suppose you can *run* the webrick with same configuration. So could you provide detailed logs:

  http://wiki.netbeans.org/RubyDebugging#section-RubyDebugging-HowToFileABug
Comment 7 jamespb 2008-04-24 17:48:45 UTC
Confirmed that it's working fine with netbeans-6.1rc2 - I can debug webrick.  I'll try a trunk build with the options
turned on from http://wiki.netbeans.org/RubyDebugging#section-RubyDebugging-HowToFileABug
Comment 8 jamespb 2008-04-24 17:52:56 UTC
I can't repro with build 1718.  I'll keep the debugging options turned on so hopefully I'll be able to file a better bug
if I see this again.