View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0000080 | Xdebug | Usage problems (Wrong Results) | public | 2004-07-26 13:07 | 2004-08-02 10:43 |
Reporter | mathieu | Assigned To | derick | ||
Priority | normal | Severity | trivial | Reproducibility | always |
Status | resolved | Resolution | no change required | ||
Product Version | |||||
Target Version | Fixed in Version | ||||
Summary | 0000080: xdebug.show_local_vars=1 has no effect | ||||
Description | xdebug.show_local_vars=1 in php.ini has no effect : error message still not display the "variables in local scope" section. | ||||
Additional Information | xdebug.default_enable=1 works. | ||||
Tags | No tags attached. | ||||
Operating System | Linux | ||||
PHP Version | 4.3.7 | ||||
|
Works fine here, I need a short! script so that I can try to reproduce it and the exact error message that you got. |
|
------- Test Script ------- <? function a() { $b = 1 ; // It causes an error $c = 2 / 0 ; } a() ; ?> ------- php.ini ------- ... 580 : zend_extension="/usr/local/apache/libexec/xdebug.so" ... 1119 : xdebug.default_enable=1 1120 : xdebug.show_local_vars=1 ... ------- Navigator message ------- # Warning: Division by zero in /home/mathieu/Www/test.php on line 7 # Call Stack @ {main}() @ a() BUT NO LOCAL VARIABLE SECTION show_local_vars DOES NOT APPEAR IN PHPINFO (neither off nor on value) Is it enough ? Mathieu edited on: 2004-07-28 17:47 edited on: 2004-07-29 10:37 |
|
This is not a bug as this feature is only implemented in Xdebug 2. The documentation did not mention this, so that's where the bug was. |
Date Modified | Username | Field | Change |
---|---|---|---|
2004-07-26 13:07 | mathieu | New Issue | |
2004-07-28 17:12 | derick | Status | new => resolved |
2004-07-28 17:12 | derick | Resolution | open => unable to reproduce |
2004-07-28 17:12 | derick | Assigned To | => derick |
2004-07-28 17:12 | derick | Note Added: 0000157 | |
2004-07-28 17:45 | mathieu | Status | resolved => feedback |
2004-07-28 17:45 | mathieu | Resolution | unable to reproduce => reopened |
2004-07-28 17:45 | mathieu | Note Added: 0000158 | |
2004-07-28 17:47 | mathieu | Note Edited: 0000158 | |
2004-07-29 10:37 | mathieu | Note Edited: 0000158 | |
2004-08-02 10:43 | derick | Status | feedback => resolved |
2004-08-02 10:43 | derick | Resolution | reopened => no change required |
2004-08-02 10:43 | derick | Note Added: 0000159 | |
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) |