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 166973 - Inconsistent coloring of error messages in the Variables view
Summary: Inconsistent coloring of error messages in the Variables view
Status: VERIFIED FIXED
Alias: None
Product: debugger
Classification: Unclassified
Component: Java (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: Daniel Prusa
URL:
Keywords: UI
Depends on:
Blocks:
 
Reported: 2009-06-12 10:08 UTC by Vojtech Sigler
Modified: 2009-06-22 14:58 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Screenshot (50.65 KB, image/png)
2009-06-12 10:08 UTC, Vojtech Sigler
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Vojtech Sigler 2009-06-12 10:08:02 UTC
Product Version: NetBeans IDE Dev (Build 200906120201)
Java: 1.6.0_14; Java HotSpot(TM) Client VM 14.0-b16
System: Linux version 2.6.28-11-generic running on i386; UTF-8; en_US (nb)

When there's an error message in the Value column (also in toString()) in the Variables or Watches view such as '>"var"
is not a known variable in the current context.<', they are colored same as other values (default black). However, if
there's an error in the code snippet generating the value in a variable formatter, the same error message is colored red.

Red is fine a makes erroneous variables clearly visible. The other error messages should also be colored red.

See screenshot.
Comment 1 Vojtech Sigler 2009-06-12 10:08:44 UTC
Created attachment 83488 [details]
Screenshot
Comment 2 Martin Entlicher 2009-06-12 10:33:28 UTC
Yes I agree that we should make all error messages red.
Comment 3 Daniel Prusa 2009-06-18 15:02:59 UTC
Fixed.
http://hg.netbeans.org/main/rev/491b1f7903a6
Comment 4 Quality Engineering 2009-06-19 20:23:25 UTC
Integrated into 'main-golden', will be available in build *200906191401* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/491b1f7903a6
User: Daniel Prusa <dprusa@netbeans.org>
Log: #166973: Inconsistent coloring of error messages in the Variables view
Comment 5 Vojtech Sigler 2009-06-22 14:58:39 UTC
Verified in trunk build (200906220201).