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 256598 - Arrays do not show in javascript debugger on hover.
Summary: Arrays do not show in javascript debugger on hover.
Status: RESOLVED INVALID
Alias: None
Product: debugger
Classification: Unclassified
Component: Code (show other bugs)
Version: 8.1
Hardware: PC Windows 7
: P2 normal (vote)
Assignee: Martin Entlicher
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-11-14 16:58 UTC by AnnM
Modified: 2015-11-26 14:02 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Small project containing a local var, a global var and an array which is (2.35 KB, application/zip)
2015-11-14 16:58 UTC, AnnM
Details

Note You need to log in before you can comment on or make changes to this bug.
Description AnnM 2015-11-14 16:58:55 UTC
Created attachment 157336 [details]
Small project containing a local var, a global var and an array which is

When I am stopped at a breakpoint and hover over a variable, I expect to see the current value.   After installing Netbeans 8.1, this is no longer true.  
I can sometimes (but not always) see simple vars, but I can never see array contents.   A window opens but there is nothing there.  It is usually blank but may occasionally have some data that is not what is desired.

In order to diagnose this, I uninstalled all Netbeans versions and then re-installed Netbeans 8.1.  Same result.  

I then ran a complete virus check on my computer(clean).

I am attaching a small Netbeans project zip that exhibits the problem for an array. When in the debugger, the values of both the global and local vars are correctly shown, but in my more involved code, they do not always show.  The array exhibits the problem.   This used to work.

Thanks in advance.   I love your IDE and look forward to a speedy resolution.

AnnM
Comment 1 AnnM 2015-11-14 17:03:03 UTC
I goofed and this submitted before I was ready, please excuse the poor writing.

 In the attachment, when the debugger is paused on the line "var debug = 0" and I hover over the mx array, I get a blank popup.   

When I hover over the simple vars, I get the result expected.
Comment 2 Martin Entlicher 2015-11-20 18:51:07 UTC
I've some problem to run the PHP project with the local web site.
But when I change it to the built-in web server, all variables, including 'mx' are displayed fine for me.
Also when I copy the index.html file to a HTML5/JavaScript project, after it's suspended on the breakpoint, I can evaluate whatever. Hoover on the mx array shows: "mx = (Array) Array[2]" tooltip. After clicking on the expansion sign in the tooltip, I can see it's elements.

Can you please check if it works for you in an HTML5/JavaScript project?

In case of PHP project, do you use Run or Debug to execute the project? In case of debug, the xdebug starts as well to debug PHP, but it didn't change the tooltips in JavaScript code for me.
Comment 3 Martin Entlicher 2015-11-26 14:02:03 UTC
I've got a response from the reporter that this seems to be some problem on the user computer, on an other system it works fine for them.