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 102682 - JRoR: Phantom Break Points While Debugging
Summary: JRoR: Phantom Break Points While Debugging
Status: RESOLVED WONTFIX
Alias: None
Product: ruby
Classification: Unclassified
Component: Code (show other bugs)
Version: 6.x
Hardware: All All
: P2 blocker (vote)
Assignee: Martin Krauskopf
URL: http://jira.codehaus.org/browse/JRUBY...
Keywords:
Depends on:
Blocks:
 
Reported: 2007-04-27 00:28 UTC by William Leonard
Modified: 2007-07-03 14:37 UTC (History)
0 users

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 William Leonard 2007-04-27 00:28:02 UTC
When debugging a JRuby Rails application, the debugger breaks at several spots
along the way during server startup (server.rb, oracale_adapter.rb,
initializer.rb, text_helper.rb, dependencies.rb, base.rb, action_controller.rb,
parser.rb, streamHandler.rb, proxy.rb, webrick.rb), so it's very time consuming
to start the server in debug mode.

Then again when submitting the request stops are made in dispatcher.rb and
httpserver.rb before hitting the breakpoint in my controller. Then again in
dispatcher.rb after hitting the breakpoint.

Also, clicking the red x in the output window doesn't kill the server when it's
running in debug mode (probably a seperate issue)
Comment 1 Martin Krauskopf 2007-04-27 14:53:25 UTC
I'm not going to fix this. It is problem of the interpreter anyway so it
actually can't be fixed in NetBeans. Try to run debugger directly from command
line. You will get the same result. Classic Debugger is not adequate for Rails
debugging. There is a planned works for Fast Debugger for JRuby. But future
works. We are in contact with JRuby guys.
Probably I could put there a warning that classic debugger is not supposed to be
used for Rails (I have the issue filed already for this, I think).
For more see the URL. Thanks.
Comment 2 Jiri Kovalsky 2007-07-03 14:08:53 UTC
Reassigning this issue to newly created 'ruby' component.
Comment 3 Jiri Kovalsky 2007-07-03 14:37:53 UTC
Changing target milestone of all resolved Ruby issues from TBD to 6.0 Beta 1 build.