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 111798 - Run to cursor is not working
Summary: Run to cursor is not working
Status: VERIFIED 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: REGRESSION
: 112223 (view as bug list)
Depends on:
Blocks:
 
Reported: 2007-08-02 17:30 UTC by Tomas Danek
Modified: 2007-08-08 13:22 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 Tomas Danek 2007-08-02 17:30:57 UTC
20070802
-----------
- have e.g. 10 lines of puts "something"
- place breakpoint on first line, start debugger, debugger stops
- move cursor on e.g. 7th line, invoke Run to cursor, debugger does not stop here and finishes



..as we talked offline, you're aware of this, working on fix...:-)
Comment 1 Martin Krauskopf 2007-08-03 06:54:23 UTC
Cause by the breakpoints-in-multi-threaded-programs fix. Thanks for the catch.
Comment 2 Martin Krauskopf 2007-08-06 11:45:21 UTC
Fixed with regression test for both backends.

debugger/src/org/netbeans/modules/ruby/debugger/RubyDebuggerActionProvider.java;
new revision: 1.6; previous revision: 1.5
debugger/src/org/netbeans/modules/ruby/debugger/RubySession.java;
new revision: 1.9; previous revision: 1.8
debugger/test/unit/src/org/netbeans/modules/ruby/debugger/RubySessionTest.java;
new revision: 1.4; previous revision: 1.3
debugger/test/unit/src/org/netbeans/modules/ruby/debugger/TestBase.java;
new revision: 1.5; previous revision: 1.4
Comment 3 Martin Krauskopf 2007-08-07 19:01:38 UTC
*** Issue 112223 has been marked as a duplicate of this issue. ***
Comment 4 Tomas Danek 2007-08-08 13:22:34 UTC
verified in 20070808