View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0000327 | Xdebug | Uncategorized | public | 2007-10-26 15:13 | 2007-10-27 17:10 |
| Reporter | MikeD | Assigned To | derick | ||
| Priority | normal | Severity | major | Reproducibility | always |
| Status | resolved | Resolution | no change required | ||
| Summary | 0000327: xdebug.var_displaymax* values are ignored in remote usage | ||||
| Description | running xdebug for remote debugging, however it seems that the xdebug.var_display_max_children, xdebug.var_display_max_data, xdebug.var_display_max_depth settings in php.ini are ignored and internal default values are used. Note that these internal values used are different from the normal defaults xdebug.var_display_max_data: xdebug.var_display_max_children xdebug.var_display_max_depth workaround: feature_set -i 1 -n max_children -v <value> | ||||
| Additional Information | php.ini: phpinfo() output: output from debugclient-0.9.0.exe: Waiting for debug server to connect. (cmd) feature_get -i 1 -n max_children <?xml version="1.0" encoding="iso-8859-1"?> (cmd) feature_get -i 1 -n max_depth <?xml version="1.0" encoding="iso-8859-1"?> (cmd) feature_get -i 1 -n max_data <?xml version="1.0" encoding="iso-8859-1"?> (cmd) quit Waiting for debug server to connect. | ||||
| Tags | No tags attached. | ||||
| Operating System | |||||
| PHP Version | 5.1.2 | ||||
|
|
This is not a bug, those three settings are not supposed to work on remote debugging. The defaults need to be different as it is a bad idea to have a depth != 1 for remote debugging, while it also cumbersome to deal with var_dump() displays if the depth = 1 there. I updated the documentation for those 3 settings to make this a bit clearer. |
| Date Modified | Username | Field | Change |
|---|---|---|---|
| 2007-10-26 15:13 | MikeD | New Issue | |
| 2007-10-27 17:10 | derick | Status | new => resolved |
| 2007-10-27 17:10 | derick | Resolution | open => no change required |
| 2007-10-27 17:10 | derick | Assigned To | => derick |
| 2007-10-27 17:10 | derick | Note Added: 0000766 | |
| 2016-07-31 12:36 | derick | Category | Usage problems => Usage problems (Crashes) |
| 2016-07-31 12:38 | derick | Category | Usage problems (Crashes) => Usage problems (Wrong Results) |
| 2020-03-12 16:35 | derick | Category | Usage problems (Wrong Results) => Variable Display |
| 2020-03-12 16:38 | derick | Category | Variable Display => Uncategorized |