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.
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.
Created attachment 83488 [details] Screenshot
Yes I agree that we should make all error messages red.
Fixed. http://hg.netbeans.org/main/rev/491b1f7903a6
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
Verified in trunk build (200906220201).