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 101157 - Warn users to using fast debugger for RoR/Native Ruby combination
Summary: Warn users to using fast debugger for RoR/Native Ruby combination
Status: RESOLVED FIXED
Alias: None
Product: ruby
Classification: Unclassified
Component: Code (show other bugs)
Version: 6.x
Hardware: All All
: P2 blocker (vote)
Assignee: Martin Krauskopf
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-04-16 14:57 UTC by Petr Blaha
Modified: 2007-07-03 14:44 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 Petr Blaha 2007-04-16 14:57:44 UTC
For Ruby on Rails and native ruby interpreter the faster debugger work more
reliable then classic debugger. We should warn user about this option and also
explain how to install required gems in ruby installation when user starts first
debug session.
Comment 1 Tomas Danek 2007-05-11 15:31:58 UTC
I'm strongly voting for *disabling* jruby on rails/classic debugger combination
(at least for now), since it seems quite useless to me, i was not able to debug
foo rails application, with one controller and a breakpoint in it. In fact it
seems like webrick didn't boot at all in this debugging session..
Comment 2 Martin Krauskopf 2007-05-13 03:51:47 UTC
Ok. I've put there more clues for the user. Also disabling to debug Rails with
anything but Native Ruby + ruby-debug-ide. Might be probably even better. Say
your opinion, thin needs to be tuned as best as possible. Thanks.

debugger/nbproject/project.xml;
new revision: 1.19; previous revision: 1.18
debugger/src/org/netbeans/modules/ruby/debugger/Bundle.properties;
new revision: 1.12; previous revision: 1.11
debugger/src/org/netbeans/modules/ruby/debugger/RubyDebugger.java;
new revision: 1.24; previous revision: 1.23
debugger/src/org/netbeans/modules/ruby/debugger/Util.java;
new revision: 1.14; previous revision: 1.13
projects/nbproject/project.properties;
new revision: 1.61; previous revision: 1.60
projects/src/org/netbeans/modules/ruby/rubyproject/execution/ExecutionDescriptor.java;
new revision: 1.8; previous revision: 1.7
railsprojects/nbproject/project.xml;
new revision: 1.19; previous revision: 1.18
railsprojects/src/org/netbeans/modules/ruby/railsprojects/server/RailsServer.java;
new revision: 1.6; previous revision: 1.5
Comment 3 Tomas Danek 2007-05-14 15:20:53 UTC
yes, it prevents jruby/classic debugging of rails, that's fine. Anyway, as we
discussed some time ago, some "magic button" that would install gems for fast
debugger would be more than nice;-) 
Comment 4 Martin Krauskopf 2007-05-15 09:51:53 UTC
Yes. I'll add something like this. Not sure if I have an issue for this.
Comment 5 Tomas Danek 2007-05-15 12:03:07 UTC
did not find that issue - so i created this (issue 103974) RFE for your comfort:) 
Comment 6 Jiri Kovalsky 2007-07-03 14:13:31 UTC
Reassigning this issue to newly created 'ruby' component.
Comment 7 Jiri Kovalsky 2007-07-03 14:44:00 UTC
Changing target milestone of all resolved Ruby issues from TBD to 6.0 Beta 1 build.