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 60392 - The array of map entries is not nested
Summary: The array of map entries is not nested
Status: CLOSED FIXED
Alias: None
Product: debugger
Classification: Unclassified
Component: Java (show other bugs)
Version: 5.x
Hardware: All All
: P3 blocker (vote)
Assignee: Martin Entlicher
URL:
Keywords: USABILITY
Depends on:
Blocks: 59541
  Show dependency tree
 
Reported: 2005-06-22 16:51 UTC by Martin Entlicher
Modified: 2010-04-29 09:23 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 Martin Entlicher 2005-06-22 16:51:52 UTC
When a large Map is expanded in Locals Variables or Watches, one gets a long
array of entries numbered from 0. Not only this large data structure causes
performance problems (see issue #59541), it's also strangely displayed, which
causes usability problem.

I would expect to see key-value pairs, ideally sorted by keys (if it's not a Map
which already have some defined order - e.g. SortedMap or LinkedHashMap).
Comment 1 Martin Entlicher 2005-07-19 10:23:23 UTC
This also concerns collections which are displayed as an array - Lists, etc.
Comment 2 Martin Entlicher 2005-09-02 17:42:48 UTC
The array of map entries is now displayed in the same approach as arrays are.
This solves the performance & memory problem:

/cvs/debuggerjpda/ui/src/org/netbeans/modules/debugger/jpda/ui/models/JavaVariablesFilter.java,v
 <--  JavaVariablesFilter.java
new revision: 1.10; previous revision: 1.9

There is issue #40153 for the nicer view.
Comment 3 Quality Engineering 2010-04-29 09:23:21 UTC
Verified ... and Closing all issues resolved into NetBeans 6.7 and earlier.