|Anonymous | Login | Signup for a new account||2018-06-22 04:19 BST|
|My View | View Issues | Change Log | Roadmap|
|View Issue Details|
|ID||Project||Category||View Status||Date Submitted||Last Update|
|0000687||Xdebug||Usage problems (Wrong Results)||public||2011-04-29 17:02||2012-05-06 15:53|
|Target Version||2.2.0||Fixed in Version|
|Summary||0000687: Xdebug does not show dynamically defined variable|
|Description||"Dynamically" defined variables aren't visible with dbgp's context_get, but are visible with PHP's get_defined_vars() and actually exists|
|Steps To Reproduce||<?php|
$nameHolder = 'name';
$$nameHolder = 'value';
|Additional Information||http://youtrack.jetbrains.net/issue/WI-3208 [^]|
|Tags||No tags attached.|
|Attached Files||xdebug.log [^] (34,176 bytes) 2011-04-29 17:02|
I don't know if this is related but it looks like it.
XDebug only reports a small fraction of an objects attributes compared to DBG.
If you have a class with subclasses DBG shows all member variables as well as the defined properties for both the class and anything it is derived off (including protected and private variables).
I honestly don't know if this is even possible to accomplish in XDebug but it is a lot more work to have to look up and add watches for most of the variables that were readily available in my previous debugger.
For example if an object has a getAttributes() function a ->attributes child variable would be displayed by DBG. I dont know if this is based on PHPDoc property statements or whether it detects getter like functions.
I really like a lot of stuff in XDebug but this is the only point atm that makes me switch back to my previous editor with DBG once in a while. Can you please make an even bigger fanboy out of me by making it so no switching is needed anymore ? :)
|2011-04-29 17:02||nnmatveev||New Issue|
|2011-04-29 17:02||nnmatveev||File Added: xdebug.log|
|2011-05-13 20:39||Blizz||Note Added: 0001745|
|2012-03-12 16:25||derick||Target Version||=> 2.2.0|
|2012-05-06 15:53||derick||Status||new => closed|
|2012-05-06 15:53||derick||Assigned To||=> derick|
|2012-05-06 15:53||derick||Resolution||open => fixed|
|2016-07-31 13:36||derick||Category||Usage problems => Usage problems (Crashes)|
|2016-07-31 13:38||derick||Category||Usage problems (Crashes) => Usage problems (Wrong Results)|
|Copyright © 2000 - 2018 MantisBT Team|