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 250301 - Object badly evaluated in expandable tooltip and variables window
Summary: Object badly evaluated in expandable tooltip and variables window
Status: RESOLVED FIXED
Alias: None
Product: javascript
Classification: Unclassified
Component: Node.js Debugger (show other bugs)
Version: 8.1
Hardware: PC Linux
: P2 normal (vote)
Assignee: Martin Entlicher
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-02-08 17:15 UTC by Vladimir Riha
Modified: 2015-03-25 13:13 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
screenshot (149.47 KB, image/png)
2015-02-08 17:15 UTC, Vladimir Riha
Details
sample project (205.87 KB, application/zip)
2015-02-08 17:17 UTC, Vladimir Riha
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Vladimir Riha 2015-02-08 17:15:15 UTC
Created attachment 151889 [details]
screenshot

Please check the attached project:
 - invoke NPM install
 - debug the project, it stops on the 1st line, press Continue
 - add line breakpoint to server/api/test.js to line 49
 - starting debugger should open new tab in browser, reload the tab if necessary 
 - type any text to the input field and press Send in the browser tab
 - debugger should stop on line 49 with the line breakpoint

 => check either Variables window and expand "err" or try expandable tooltip over "err" on line 49. In both cases there is 

ReferenceError: includeSource is not defined

but if you e.g. hover over err.msg on line 50, you can see the correct value "b" 


Thank you


Product Version: NetBeans IDE Dev (Build 201502080001)
Java: 1.7.0_45; Java HotSpot(TM) 64-Bit Server VM 24.45-b08
Runtime: Java(TM) SE Runtime Environment 1.7.0_45-b18
System: Linux version 3.13.0-43-generic running on amd64; UTF-8; en_US (nb)
Comment 1 Vladimir Riha 2015-02-08 17:17:01 UTC
Created attachment 151890 [details]
sample project
Comment 2 Martin Entlicher 2015-02-16 09:21:44 UTC
I also get errors like that occasionally. Although I'm not able to reproduce it right now on this project. This seem to be a random error. It looks like a bug in node.js.
Comment 3 Martin Entlicher 2015-03-25 13:13:48 UTC
I can not reproduce the ReferenceError recently and debugging of the attached project works fine for me with node 0.12.1. It was likely fixed already.