View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0000304 | Xdebug | Uncategorized | public | 2007-08-21 09:12 | 2020-03-12 18:01 |
| Reporter | philipp | Assigned To | |||
| Priority | normal | Severity | feature | Reproducibility | N/A |
| Status | closed | Resolution | fixed | ||
| Fixed in Version | 2.3.0 | ||||
| Summary | 0000304: File name and line number info for var_dump() | ||||
| Description | Attached is a tiny patch to add the file name and line number to every call to var_dump() | ||||
| Additional Information | Index: xdebug_var.c char xdebug_get_zval_value_fancy(char name, zval val, int len, int debug_zval, xdebug_var_export_options *options TSRMLS_DC)
@@ -1015,7 +1018,11 @@ char xdebug_get_zval_value_fancy(char
| ||||
| Tags | No tags attached. | ||||
| Operating System | |||||
| PHP Version | 5.2.1 | ||||
|
|
I am not so sure if I want to add this... as this makes even simple var_dump() output quite noisy. |
|
|
That's true - output gets noisier. Here is an updated version of the patch (the first one displayed line/file infos in stack traces as well) philipp Index: xdebug.c
@@ -2648,8 +2648,12 @@ PHP_FUNCTION(xdebug_var_dump)
|
|
|
Implemented for Xdebug 2.3 |