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 57834 - Watches are evaluated more than once
Summary: Watches are evaluated more than once
Status: VERIFIED FIXED
Alias: None
Product: debugger
Classification: Unclassified
Component: Code (show other bugs)
Version: 5.x
Hardware: PC Windows XP
: P4 blocker (vote)
Assignee: Martin Entlicher
URL:
Keywords: RANDOM
Depends on:
Blocks:
 
Reported: 2005-04-13 14:10 UTC by _ lcincura
Modified: 2005-10-31 12:49 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 _ lcincura 2005-04-13 14:10:26 UTC
NetBeans IDE 4.2 [200504101800] on jdk 1.5.0_03

1, Have this code:
        HashMap hmap = new HashMap();
        for (int i=0; i<10; i++) {
            hmap.put(""+i, i+".item");
        }
2, Stop on breakpoint after this code
3, Create watch hmap.put("6", "test") => the watch is sometimes eavaluated only
once (i.e. the value is "6.item") and sometimes it is evaluated more times (i.e.
the value is "test")
Comment 1 Martin Entlicher 2005-08-20 10:19:19 UTC
It's evaluated just once now.
Comment 2 _ lcincura 2005-10-31 12:49:25 UTC
Verified in build 200510301900