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 134445 - Broken stepping with JRuby debugger in certain scenarios
Summary: Broken stepping with JRuby debugger in certain scenarios
Status: RESOLVED FIXED
Alias: None
Product: ruby
Classification: Unclassified
Component: Debugger (show other bugs)
Version: 6.x
Hardware: All All
: P2 blocker (vote)
Assignee: Martin Krauskopf
URL:
Keywords:
: 145611 (view as bug list)
Depends on:
Blocks:
 
Reported: 2008-05-03 01:21 UTC by William Leonard
Modified: 2008-10-10 17:18 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Sample project for reproducing the bug (97.01 KB, text/plain)
2008-05-03 01:24 UTC, William Leonard
Details

Note You need to log in before you can comment on or make changes to this bug.
Description William Leonard 2008-05-03 01:21:38 UTC
Steps to reproduce:

Using JRuby:

1) Open the attached sample Ruby project.
2) rake db:create and db:mirgrate
3) Set a breakpoint at the top of show.html.erb
4) Step into @result.candidate
5) You should now be in attribute_methods.rb. From here, try to step back out or run to cursor. The debugger just
continues through and the page displays.
Comment 1 William Leonard 2008-05-03 01:24:30 UTC
Created attachment 60997 [details]
Sample project for reproducing the bug
Comment 2 Martin Krauskopf 2008-09-26 11:42:21 UTC
I'm also getting some odd behaviors when debugging Rails. Generalizing subject, increasing priority. Will take a look at
this after I get back from vacation.
It is likely different than the one you've encountered with 6.1 (simple test with missing_methods works), but reusing
this one, since it fits the best.
Comment 3 Martin Krauskopf 2008-09-26 11:45:03 UTC
*** Issue 145611 has been marked as a duplicate of this issue. ***
Comment 4 Martin Krauskopf 2008-10-10 16:57:58 UTC
Brian, I've checked with latest build (with the attached application) and the issue seems to be fixed. I've fixed some
race condition lately, also might be fixed by new backends version. There were more progress, so honestly I'm not sure
what exactly fixed this.
There are another issue during ERB debugging - you have to 'step over' more times to perform one move. I've tried also
with native debugger, it's similar. I've filed a new issue #149791 for this.
Let me know if you (or you, Chris) are still encountering some major problems. I do not want to do some bigger changes
at this time, until really needed (P1, P2).