[xdebug-dev] xdebug xdebug/xdebug_var.c - Allow xdebug.var_display_max_data and xdebug.var_display_max_depth settings

From: Derick Rethans <derick[@]derickrethans.nl>
Date: Tue, 19 Dec 2006 18:54:19 +0100

Date: Tue Dec 19 18:54:19 CET 2006
User: Derick Rethans
Directory: xdebug

Log Message:
[0.25]
- Allow xdebug.var_display_max_data and xdebug.var_display_max_depth settings
  of -1 which will unlimit those settings.

Modified files:
           xdebug/xdebug_var.c (version: 1.80)

[FILE: /xdebug/xdebug_var.c]

===================================================================
RCS file: cvstemp,v
retrieving revision 1.79
retrieving revision 1.80
diff -u -r1.79 -r1.80
--- xdebug/xdebug_var.c:1.79 Tue Dec 19 09:48:44 2006 GMT
+++ xdebug/xdebug_var.c Tue Dec 19 16:54:19 2006 GMT
@@ -134,11 +134,15 @@
         options->show_hidden = 0;
         options->runtime = NULL;
 
- if (options->max_data < 1) {
+ if (options->max_data == -1) {
+ options->max_data = 1073741824;
+ } else if (options->max_data < 1) {
                 options->max_data = 1;
         }
 
- if (options->max_depth < 0) {
+ if (options->max_depth == -1) {
+ options->max_depth = 65536;
+ } else if (options->max_depth < 0) {
                 options->max_depth = 0;
         }
 
Received on Tue Dec 19 2006 - 18:54:21 GMT

This archive was generated by hypermail 2.2.0 : Sun Jun 24 2018 - 04:00:03 BST