The following bug has been RESOLVED.
======================================================================
http://bugs.xdebug.org/bug_view_page.php?bug_id=0000080
======================================================================
Reporter: mathieu
Handler: derick
======================================================================
Project: Xdebug
Bug ID: 80
Category: Usage problems
Reproducibility: always
Severity: trivial
Priority: normal
Status: resolved
Operating System: Linux
PHP Version: 4.3.7
Xdebug Version: 1.3.2
Resolution: not a bug
======================================================================
Date Submitted: 2004-07-26 13:07 CEST
Last Modified: 2004-08-02 10:43 CEST
======================================================================
Summary: 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.
======================================================================
----------------------------------------------------------------------
derick - 2004-07-28 17:12 CEST
----------------------------------------------------------------------
Works fine here, I need a short! script so that I can try to reproduce it
and the exact error message that you got.
----------------------------------------------------------------------
mathieu - 2004-07-29 10:37 CEST
----------------------------------------------------------------------
------- 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
----------------------------------------------------------------------
derick - 2004-08-02 10:43 CEST
----------------------------------------------------------------------
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.
Bug History
Date Modified Username Field Change
======================================================================
2004-07-26 13:07mathieu New Bug
2004-07-26 18:44mathieu Bug Monitored: mathieu
2004-07-26 18:44mathieu Bug End Monitor: mathieu
2004-07-28 17:12derick Bugnote Added: 0000157
2004-07-28 17:12derick Assigned To => derick
2004-07-28 17:12derick Resolution open => unable to duplicate
2004-07-28 17:12derick Status new => resolved
2004-07-28 17:45mathieu Bugnote Added: 0000158
2004-07-28 17:45mathieu Resolution unable to duplicate => reopened
2004-07-28 17:45mathieu Status resolved => feedback
2004-07-28 17:47mathieu Bugnote Edited: 0000158
2004-07-29 10:37mathieu Bugnote Edited: 0000158
2004-08-02 10:43derick Bugnote Added: 0000159
2004-08-02 10:43derick Resolution reopened => not a bug
2004-08-02 10:43derick Status feedback => resolved
======================================================================
Received on Mon Aug 02 2004 - 10:43:16 BST
This archive was generated by hypermail 2.2.0 : Sun Jun 24 2018 - 04:00:02 BST