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 253326

Summary: User-defined variables should not scroll out of view when stepping over/into code
Product: debugger Reporter: _ gtzabari <gtzabari>
Component: CodeAssignee: Martin Entlicher <mentlicher>
Status: NEW ---    
Severity: normal    
Priority: P3    
Version: 8.1   
Hardware: PC   
OS: Windows 7   
Issue Type: ENHANCEMENT Exception Reporter:

Description _ gtzabari 2015-07-06 20:22:44 UTC
Repro steps:

1. Start a debugging session, hit a breakpoint.
2. Add entries to the Variables tab until you are forced to scroll downward to see the last entry.
3. Hit F7 or F8 to step into or over a line.
4. Notice that the Variables tab jumps to the top scrolling position

This is a major usability problem, because it means users cannot add more than 4-5 variables without having to keep on scrolling them into view each time they use the debugger.

Expected behavior: Scrollbar should maintain position across stepping operations. If the scrolling position no longer exists, jump to the lowest scroll position.
Comment 1 _ gtzabari 2015-07-06 20:23:31 UTC
I am seeing this problem in:

Product Version: NetBeans IDE Dev (Build 201507040001)
Java: 1.8.0_45; Java HotSpot(TM) 64-Bit Server VM 25.45-b02
Runtime: Java(TM) SE Runtime Environment 1.8.0_45-b14
System: Windows 7 version 6.1 running on amd64; Cp1252; en_CA (nb)
User directory: C:\Users\Gili\AppData\Roaming\NetBeans\dev
Cache directory: C:\Users\Gili\AppData\Local\NetBeans\Cache\dev