|Anonymous | Login | Signup for a new account||2017-08-20 14:28 BST|
|My View | View Issues | Change Log | Roadmap|
|View Issue Details|
|ID||Project||Category||View Status||Date Submitted||Last Update|
|0000784||Xdebug||Documentation||public||2012-02-29 18:44||2012-04-22 14:48|
|Priority||normal||Severity||minor||Reproducibility||have not tried|
|Target Version||2.2.0||Fixed in Version||2.2.0RC2|
|Summary||0000784: Unlimited feature for var_display_max_data and var_display_max_depth is undocumented|
|Description||I found from your update page (http://xdebug.org/updates.php [^])|
"Allow xdebug.var_display_max_data and xdebug.var_display_max_depth settings of -1 which will unlimit those settings."
Which is cleaner than use a high value like 999.
However, for these two settings, you did not document it in your all_setting page:
You should update documentation.
On a related note and that should be directed to the person who take care of the software design:
Semantically "-1" is also not obvious, unless you know it. I know developers sometime use -1 or 0 as unlimited (to keep the same data type for their setting), it can be OK, but I often try to be "right" on the value I choose. The real answer is that there is no maximum. We can therefore use a value like null to express there is no maximum (or we can think and create/support a constant/alias value for settings like */undefined/unlimited/none/null/etc.). If you choose to go that route and want feedback, I will be glad to put my 2 cents about what I think is the right value/name/etc.
|Tags||No tags attached.|
I don't quite disagree with the "-1" issue, but IMO, there are lots of more important things to fix/do right now.
I've updated the documentation though.
|2012-02-29 18:44||mickoz||New Issue|
|2012-03-12 16:25||derick||Target Version||=> 2.2.0|
|2012-03-24 17:04||derick||Note Added: 0002008|
|2012-03-24 17:04||derick||Status||new => closed|
|2012-03-24 17:04||derick||Assigned To||=> derick|
|2012-03-24 17:04||derick||Resolution||open => fixed|
|2012-04-22 14:48||derick||Fixed in Version||=> 2.2.0RC2|
|Copyright © 2000 - 2017 MantisBT Team|