Bug 450807

Summary: auto-select variable in debugger when reaching a breakpoint
Product: [Eclipse Project] JDT Reporter: Ulrich Scholz <d7>
Component: DebugAssignee: JDT-Debug-Inbox <jdt-debug-inbox>
Status: NEW --- QA Contact:
Severity: enhancement    
Priority: P3    
Version: 4.4.1   
Target Milestone: ---   
Hardware: PC   
OS: Windows 8   
Whiteboard:

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.