Bug 450807 - auto-select variable in debugger when reaching a breakpoint
Summary: auto-select variable in debugger when reaching a breakpoint
Status: NEW
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Debug (show other bugs)
Version: 4.4.1   Edit
Hardware: PC Windows 8
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: JDT-Debug-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-11-10 03:53 EST by Ulrich Scholz CLA
Modified: 2014-11-10 03:53 EST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ulrich Scholz CLA 2014-11-10 03:53:41 EST
The following enhancement would reduce the number of clicks required while debugging.

Assume that the debugger is in step mode and a variables view has a variable selected.  Now, if resume is clicked then, when reaching the next breakpoint, the variables view does not have any variable selected (At least most of the time. Sometimes, it does. But I haven't found out the logic behind it)

Improvement: If the breakpoint is within the same type as the previous one (incl. type hierarchy) and the attribute/local variable previously selected is visible, too, then autoselect that variable.

Even more improvement: If the breakpoint is not within the same type as the previous one but there is a variable with the same name as the attribute/local varaible previously selected, then autoselect that variable.