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 238859 - Variables show up 2 times in variables window
Summary: Variables show up 2 times in variables window
Status: NEW
Alias: None
Product: php
Classification: Unclassified
Component: Debugger (show other bugs)
Version: 7.4
Hardware: PC Linux
: P4 normal (vote)
Assignee: Ondrej Brejla
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-11-27 09:09 UTC by Silberling
Modified: 2013-12-03 14:05 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
NB 7.4 Variable View (21.44 KB, image/png)
2013-12-03 13:50 UTC, Silberling
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Silberling 2013-11-27 09:09:30 UTC
Hi,

During debugging I have some times the problem that variables show up 2 times directly below each other.

Let's say you have an object with 3 fields: id, name, email, it would show 6 variables, each of the 3 would be there 2 times with the same type and value.

I was not able to trace the problem to its source but it occurred several times.
First on NetBeans 7.3 as far as I remember.

xDebug 2.2.3

I don't know if xDebug sends this contents twice but this can be irritating.

(debugging the protocol can be turned on in php.ini using
xdebug.remote_log = /var/log/xdebug.log)

Thanks

Kai
Comment 1 Ondrej Brejla 2013-11-27 09:12:37 UTC
Try to send us some minimum project, where it can be reproduced (at least sometimes...). Try to describe your setup and steps how to reproduce that. And of course attach an xdebug log (from the state, when the problem occured). Otherwise I can't do anything with that. Thanks. P4 as a reminder.
Comment 2 Silberling 2013-11-27 09:16:02 UTC
Hi,

I should have written that -.-

I was not able to forcefully induce this behaviour. It occurs randomly which is why I was not able to trace it.

Let's say this occurs in <5% of all debugging attempts.

When this occurs the next time I will try to reproduce it and log the xdebug traffic.

Kai
Comment 3 Silberling 2013-12-03 13:50:06 UTC
Created attachment 142814 [details]
NB 7.4 Variable View

The view with the error occuring
Comment 4 Silberling 2013-12-03 13:51:58 UTC
Hi,

Just in this moment the error occurred. I was searching for a bug in our internal software while this occurred.

I jumped over some expensive calls while the variable view was active. Then, when it updated it happened.

Kai
Comment 5 Silberling 2013-12-03 14:05:42 UTC
<- property_get -i 689 -n $_DATE_TIMEZONE_DATA -c 0 -p 23   [...]
<- property_get -i 690 -n $_DATE_TIMEZONE_DATA -c 0 -p 24   [...]

I can't read the xdebug log, because it grew as hell when enabled. But this two lines look like newbeans is asking twice.