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 66795 - 'Display as' does not work at all in Watches view
Summary: 'Display as' does not work at all in Watches view
Status: VERIFIED FIXED
Alias: None
Product: debugger
Classification: Unclassified
Component: Java (show other bugs)
Version: 6.x
Hardware: All All
: P1 blocker (vote)
Assignee: Martin Entlicher
URL:
Keywords: REGRESSION
Depends on:
Blocks:
 
Reported: 2005-10-14 12:56 UTC by Max Sauer
Modified: 2009-06-02 11:30 UTC (History)
3 users (show)

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 Max Sauer 2005-10-14 12:56:01 UTC
Inside Watches view, 'Display As' feature does not work at all.

Stesp to reproduce:
-------------------
1) Create an integer variable
2) Start a debug session
3) Go to Watches view
4) Try to use 'Display As' invoked from pop-up menu over the variable.
--> Nothing happens

[200510131922, JDK 1.5.0_05, solaris 10/sparc]
Comment 1 Martin Entlicher 2005-10-14 13:43:48 UTC
100% reproducible. Works fine in Local Variables, but not in Watches.
Comment 2 Martin Entlicher 2005-10-17 14:25:18 UTC
Hmm, the "Display As" in Watches should not be there. If I add that action, it's
there twice and the new works correctly... It looks like it was accidentally
added from some other model.
Comment 3 Martin Entlicher 2005-10-17 15:10:46 UTC
NumericDisplayFilter was not added as a TableModelFilter. It's fixed in trunk:

/cvs/debuggerjpda/ui/src/META-INF/debugger/WatchesView/org.netbeans.spi.viewmodel.TableModelFilter,v
 <--  org.netbeans.spi.viewmodel.TableModelFilter
new revision: 1.3; previous revision: 1.2
Comment 4 Max Sauer 2005-10-26 09:37:51 UTC
Ok, verified in 200510251800.
Comment 5 Vojtech Sigler 2009-05-27 12:51:11 UTC
Product Version: NetBeans IDE 6.7 RC1 (Build 200905270001)
Java: 1.6.0_13; Java HotSpot(TM) Client VM 11.3-b02
System: Linux version 2.6.28-11-generic running on i386; UTF-8; en_US (nb)

A possible regression. I'm experiencing this behavior in RC1 - Diplay as does nothing in the Watches view, but it works
in the Variables view.
Comment 6 Filip Zamboj 2009-05-27 13:24:10 UTC
well, I'd say this stopper for FCS but not RC1. What do you guys think? 
Comment 7 Martin Entlicher 2009-05-27 13:30:58 UTC
P3 issues can not be fixed any more into 6.7.
Comment 8 Vojtech Sigler 2009-05-27 13:34:00 UTC
I'd also say a stopper for FCS. Raise to P2?
Comment 9 Martin Entlicher 2009-05-27 13:37:22 UTC
Display As does not work in Watches window. The action is enabled, but does nothing.
Display As in Variables (even when watches are included) works fine.
Comment 10 Filip Zamboj 2009-05-27 13:38:04 UTC
@vsigler: definitely
Comment 11 Vojtech Sigler 2009-05-27 13:44:53 UTC
needs to be fixed for 6.7
Comment 12 Daniel Prusa 2009-05-28 15:50:05 UTC
Fixed in trunk. Please, verify.

changeset:   133799:ba43a62b3c1c
http://hg.netbeans.org/main/rev/ba43a62b3c1c
Comment 13 Martin Entlicher 2009-05-28 15:56:39 UTC
Fix is reviewed, it's safe and correct.
Comment 14 Vojtech Sigler 2009-05-28 16:59:49 UTC
Fix verified in continuous build http://deadlock.netbeans.org/hudson/job/trunk/5925/
Comment 15 Martin Entlicher 2009-05-29 08:05:13 UTC
Pushed to release67 in changeset:   133419:98576d1c4cb4
http://hg.netbeans.org/release67/rev/98576d1c4cb4
Comment 16 Quality Engineering 2009-05-29 08:23:44 UTC
Integrated into 'main-golden', will be available in build *200905290201* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/ba43a62b3c1c
User: Daniel Prusa <dprusa@netbeans.org>
Log: #66795: 'Display as' does not work at all in Watches view
Comment 17 Vojtech Sigler 2009-06-02 11:30:35 UTC
Verified in RC2 (Build 200906020001)