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 245098 - Variables Window doesn't synchronize correctly through debugging a tree - iterator
Summary: Variables Window doesn't synchronize correctly through debugging a tree - ite...
Status: RESOLVED INCOMPLETE
Alias: None
Product: debugger
Classification: Unclassified
Component: Code (show other bugs)
Version: 8.0
Hardware: PC Windows 7
: P3 normal (vote)
Assignee: Martin Entlicher
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-06-17 07:32 UTC by petergoebel
Modified: 2014-07-22 16:20 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
IDE log (239.88 KB, text/plain)
2014-06-17 07:32 UTC, petergoebel
Details

Note You need to log in before you can comment on or make changes to this bug.
Description petergoebel 2014-06-17 07:32:36 UTC
Product Version = NetBeans IDE 8.0 (Build 201403101706)
Operating System = Windows 7 version 6.1 running on amd64
Java; VM; Vendor = 1.8.0_05
Runtime = Java HotSpot(TM) 64-Bit Server VM 25.5-b02

Concrete description:
I am stepping through the objects given back by a iterator in a simple tree-structure. At one point the variable window shows the correct type of a subnode but shows for this node the state values from the node above.

Sorry for language and form mistakes - thats the first report I am sending. Please give me feedback, if I have to do it in an other way.
Comment 1 petergoebel 2014-06-17 07:32:49 UTC
Created attachment 147698 [details]
IDE log
Comment 2 Jan Peska 2014-07-17 12:15:30 UTC
Thanks for reporting,

it is always very useful to have some sample project or example to reproduce the issue. Can you attach it?
Comment 3 Martin Entlicher 2014-07-22 16:20:25 UTC
Can you please explain what tree structure and what iterator are you talking about? A code sample is really welcomed.

I've tested Variable window when stepping through program like this:

        List<String> list = Arrays.asList(new String[] { "a", "b", "c", "d" });
        Iterator<String> iterator = list.iterator();
        while (iterator.hasNext()) {
            String next = iterator.next();
            System.err.println(next);
        }

and did not find anything unusual.
Thanks for your clarification...