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.
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.
please provide steps to reproduce, in some cases this behavior is correct
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.
Please also note that it's a regression and some time ago it works correctly.
fixed in: http://hg.netbeans.org/cnd-main/rev/546427cc184d
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)