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 196016 - Disassembly sets cursor to the first line
Summary: Disassembly sets cursor to the first line
Status: RESOLVED FIXED
Alias: None
Product: cnd
Classification: Unclassified
Component: Debugger (show other bugs)
Version: 7.0
Hardware: PC All
: P3 normal (vote)
Assignee: Egor Ushakov
URL:
Keywords: REGRESSION
Depends on:
Blocks:
 
Reported: 2011-02-25 17:14 UTC by Alexander Pepin
Modified: 2011-03-05 05:43 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 Alexander Pepin 2011-02-25 17:14:03 UTC
Now when a user opens Disassembly the editor cursor (not a current PC cursor) is always set to the first line. This is a regression which bring some inconvenience as currentPC position can be invisible in some cases (e.g. BP in the last line of welcome.cc) and user should scroll the the editor in that case. It also requires appropriate changes in disassembly tests.
Comment 1 Egor Ushakov 2011-03-02 23:25:35 UTC
please provide steps to reproduce, in some cases this behavior is correct
Comment 2 Alexander Pepin 2011-03-03 17:44:02 UTC
Steps to reproduce:
- create Quote sample
- set BP in line 147 (char response = ...)
- start debugging
- enter "Ann" as a customer name
- when debugger stops at BP open Disassembly
Result: Disassembly opens and sets cursor at line 1 and then user should scroll to line 162 to see "Cuppent PC". Please note that "Cuppent PC" does not have an annotation for the quick navigation on the right side of the editor pane.
Comment 3 Alexander Pepin 2011-03-03 17:44:58 UTC
Please also note that it's a regression and some time ago it works correctly.
Comment 4 Egor Ushakov 2011-03-04 00:14:44 UTC
fixed in:
http://hg.netbeans.org/cnd-main/rev/546427cc184d
Comment 5 Quality Engineering 2011-03-05 05:43:46 UTC
Integrated into 'main-golden', will be available in build *201103050000* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main/rev/546427cc184d
User: Egor Ushakov <gorrus@netbeans.org>
Log: fixed #196016 (Disassembly sets cursor to the first line)