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 257819 - Navigation from call stack or debugging view to code is very inconvenient.
Summary: Navigation from call stack or debugging view to code is very inconvenient.
Status: RESOLVED FIXED
Alias: None
Product: cnd
Classification: Unclassified
Component: Debugger (show other bugs)
Version: 8.1
Hardware: All All
: P3 normal with 1 vote (vote)
Assignee: Maria Tishkova
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-02-02 16:13 UTC by Vladimir Kvashin
Modified: 2017-04-16 02:39 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 Vladimir Kvashin 2016-02-02 16:13:24 UTC
Navigation from call stack or debugging view to code is very inconvenient.

Both CallStack view and Debugging view works the same way: if I double-click or press "enter", current stack frame becomes bold and IDE opens appropriate place in code. That's fine.

But editor does not transfer focus to the editor. 
This makes its behavior differ from Java.

What is worse, if I press ctrl-0 to activate editor, wrong editor tab is activated. With Quote example it seems to correspond the topmost stack frame, with JConvert it always opens a disassembly.
Comment 1 Maria Tishkova 2017-04-12 11:45:23 UTC
When I looked at this issue I first thought that I will always focus editor when current line is changed  but it is not possible. If you will  use debugger console and if will change focus to the editor after each next it will be very annoying.

More detailed:
with GDB we can be sure the method is invoked from Call Stack View or Debugging View but for DBX we cannot be sure as it is async.

So, I fixed the problem with focus for GDB but not for DBX

fixed in enum/release82
changeset:   315584:261255cedb62
branch:      release82
user:        Maria Dalmatova <mromashova@netbeans.org>
date:        Wed Apr 12 14:44:16 2017 +0300
summary:     added fix to #257819 - spec version inc

changeset:   315583:aa717cb8bfc3
branch:      release82
user:        Maria Dalmatova <mromashova@netbeans.org>
date:        Wed Apr 12 14:44:12 2017 +0300
summary:     fix for bz#257819  -  Navigation from call stack or debugging view to code is very inconvenient.
Comment 2 ilia 2017-04-12 12:47:08 UTC
https://netbeans.org/bugzilla/show_bug.cgi?id=257819 Changesets:
    http://hg.netbeans.org/releases/rev/aa717cb8bfc3 # fix for bz#257819  -  Navigation from call stack or debugging view to code is very inconvenient.
    http://hg.netbeans.org/releases/rev/261255cedb62 # added fix to #257819 - spec version inc
Comment 3 Quality Engineering 2017-04-14 01:53:43 UTC
Integrated into 'main-silver', will be available in build *201704140002* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/3b905a1784e5
User: Maria Dalmatova <mromashova@netbeans.org>
Log: fix for bz#257819  -  Navigation from call stack or debugging view to code is very inconvenient.
spec version will be incremented separately
(transplanted from aa717cb8bfc3c4fa202e5668d79a11523c53111d)
Comment 4 Quality Engineering 2017-04-16 02:39:15 UTC
Integrated into 'main-silver', will be available in build *201704160002* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/963f5b136b45
User: Maria Dalmatova <mromashova@netbeans.org>
Log: added fix to bz#257819 - i18n