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 65551 - [50cat] Show toString in value dialog when value column shows object#
Summary: [50cat] Show toString in value dialog when value column shows object#
Status: REOPENED
Alias: None
Product: debugger
Classification: Unclassified
Component: Java (show other bugs)
Version: 5.x
Hardware: PC Linux
: P3 blocker with 1 vote (vote)
Assignee: issues@debugger
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-09-30 17:50 UTC by gugrim
Modified: 2005-12-13 16:12 UTC (History)
0 users

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description gugrim 2005-09-30 17:50:49 UTC
[ BUILD # : 200509251800 ]
[ JDK VERSION : 1.5.0_04 ]

When the value column in local variables or watches view shows an object number, and you press the [...] button to pop up the value dialog, the object # is show again. This has little value (NPI) and it would be better IMO if it showed the string representation.
Comment 1 Martin Entlicher 2005-12-13 15:19:05 UTC
There is toString() column for that purpose. You can uncheck the Value column
and you will get that behavior.

The [...] button is just for a better view of the same value - that's the
default impl.
Comment 2 gugrim 2005-12-13 16:12:42 UTC
> There is toString() column for that purpose.

I know, but it shows toString for all variables so you don't want that column
visible all the time, for performance reasons. The tooltip feature is nice
but doesn't allow you to copy the text to the clipboard.

> The [...] button is just for a better view of the same value

Yes, but hardly necessary when the value is an object #.

I filed this as an improvment, not a defect. I still think it would be an
improvement. As it is now, the [...] button has no value whatsoever when
the variable value is displayed as an object #. With my suggestion, the button
would do something useful.