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 239421 - [nashorn] Debugger evaluates object variable to some JDK8 internal object
Summary: [nashorn] Debugger evaluates object variable to some JDK8 internal object
Status: RESOLVED FIXED
Alias: None
Product: javascript
Classification: Unclassified
Component: Debugger (show other bugs)
Version: 8.0
Hardware: PC Linux
: P3 normal (vote)
Assignee: Martin Entlicher
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-12-12 15:39 UTC by Vladimir Riha
Modified: 2015-07-22 04:37 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
IDE log (94.54 KB, text/plain)
2013-12-12 15:39 UTC, Vladimir Riha
Details
watch value (178.58 KB, image/png)
2013-12-12 15:40 UTC, Vladimir Riha
Details
sample file (2.04 KB, application/javascript)
2013-12-12 15:40 UTC, Vladimir Riha
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Vladimir Riha 2013-12-12 15:39:11 UTC
Created attachment 143110 [details]
IDE log

Please try to debug the attached file with line breakpoint on line 66. Once debugger stops there:
 - hover over homoSapiens on line 66
 => tooltip says "homoSapiens = jdk.nashorn.internal.scripts.JO8@10dbc7a
 - add watch for "homoSapiens"
 => object is evaluated to some internal object (see screenshot)



Product Version: NetBeans IDE Dev (Build 201312120002)
Java: 1.8.0-ea; Java HotSpot(TM) Client VM 25.0-b61
Runtime: Java(TM) SE Runtime Environment 1.8.0-ea-b119
System: Linux version 3.2.0-48-generic-pae running on i386; UTF-8; en_US (nb)
Comment 1 Vladimir Riha 2013-12-12 15:40:08 UTC
Created attachment 143111 [details]
watch value

watch on homoSapiens object
Comment 2 Vladimir Riha 2013-12-12 15:40:49 UTC
Created attachment 143112 [details]
sample file
Comment 3 Martin Entlicher 2014-02-09 13:11:44 UTC
Fixed by http://hg.netbeans.org/core-main/rev/e3c406e084af
Comment 4 Vladimir Riha 2014-02-19 09:53:05 UTC
I'm sorry, but the object in watch is still showing the L0, L1... as properties of the object.


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)
Comment 5 Martin Entlicher 2014-07-30 16:52:17 UTC
I've verified that this is fixed in the current dev.
Comment 6 Martin Entlicher 2014-08-19 15:03:16 UTC
It remains to investigate what the L* properties are about...
Comment 7 Martin Entlicher 2015-07-20 18:10:15 UTC
Watches and tooltips should display proper values and children now.
Fixed by changeset:   289956:802e2058eca2
http://hg.netbeans.org/core-main/rev/802e2058eca2
Comment 8 Quality Engineering 2015-07-22 04:37:19 UTC
Integrated into 'main-silver', will be available in build *201507220303* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/802e2058eca2
User: mentlicher@netbeans.org
Log: #239421: Watches in Nashorn should display proper JavaScript objects.