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 8.2 (Build 201609300101) Operating System = Linux version 4.4.0-47-generic running on amd64 Java; VM; Vendor = 1.8.0_101 Runtime = Java HotSpot(TM) 64-Bit Server VM 25.101-b13 Reproducibility: Happens every time STEPS: Create Javascript File: ~~~ class C3 { constructor (title) { this.title = title; this.classname = "class C3"; } } var c = new C3('I am c'); var d = new C3('I am d'); console.log("typeof c: " + typeof c); console.log("typeof d: " + typeof d); ~~~ If you debug this file and look into Window->Debugging->Variables, c is shown as function, d is show as object. If you add them to a watch, they are shown correct inside watch (both as objects). EXPECTED: Both variables shown as type object.