View Issue Details

IDProjectCategoryView StatusLast Update
0000080XdebugUncategorizedpublic2004-08-02 09:43
Reportermathieu Assigned To 
PrioritynormalSeveritytrivialReproducibilityalways
Status resolvedResolutionno change required 
Summary0000080: 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.

TagsNo tags attached.
Operating SystemLinux
PHP Version4.3.7

Activities

derick

2004-07-28 16:12

administrator   ~0000157

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-28 16:45

reporter   ~0000158

Last edited: 2004-07-29 09:37

------- 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 09:43

administrator   ~0000159

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.