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 241773

Summary: [nashorn] Disabled watch evaluated to null
Product: javascript Reporter: Vladimir Riha <vriha>
Component: DebuggerAssignee: Martin Entlicher <mentlicher>
Status: VERIFIED FIXED    
Severity: normal    
Priority: P4    
Version: 8.0   
Hardware: PC   
OS: Windows 7   
Issue Type: DEFECT Exception Reporter:

Description Vladimir Riha 2014-02-12 14:28:05 UTC
To reproduce, please try:
 - add 2 watches to some JS variables
 - uncheck one watch in Variables window
 - debug JS file in JavaSE project with some line breakpoint

=> unchecked watch is evaluated to "null" value instead of showing information that watch is disabled, >disabled<

This is rather cosmetic issue

Product Version: NetBeans IDE Dev (Build 201402120001)
Java: 1.8.0; Java HotSpot(TM) 64-Bit Server VM 25.0-b69
Runtime: Java(TM) SE Runtime Environment 1.8.0-b129
System: Windows 7 version 6.1 running on amd64; Cp1252; en_US (nb)
Comment 1 Martin Entlicher 2014-02-14 16:18:03 UTC
Fixed by changeset:   272218:c631125ea714
http://hg.netbeans.org/core-main/rev/c631125ea714
Comment 2 Quality Engineering 2014-02-15 05:13:06 UTC
Integrated into 'main-silver', will be available in build *201402150001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/c631125ea714
User: mentlicher@netbeans.org
Log: #241773: show disabled JavaScript watches as >disabled<
Comment 3 Vladimir Riha 2014-02-19 09:24:50 UTC
Verified, thank you

Product Version: NetBeans IDE Dev (Build 201402190001)
Java: 1.8.0; Java HotSpot(TM) Client VM 25.0-b69
Runtime: Java(TM) SE Runtime Environment 1.8.0-b129
System: Linux version 3.2.0-48-generic-pae running on i386; UTF-8; en_US (nb)