[xdebug-dev] Bug 0000080: xdebug.show_local_vars=1 has no effect

From: <xdebug-dev[@]lists.xdebug.org>
Date: Wed, 28 Jul 2004 17:45:57 +0200

The following bug has been REOPENED.
======================================================================
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: feedback
Operating System: Linux
PHP Version: 4.3.7
Xdebug Version: 1.3.2
======================================================================
Date Submitted: 2004-07-26 13:07 CEST
Last Modified: 2004-07-28 17:45 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-28 17:45 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/jkart/repMathieu/Ubisoft/Www/test.php
on line 7
# Call Stack
   @ {main}()
   @ a()

BUT NO LOCAL VARIABLE SECTION

Is it enough ?

Mathieu

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
======================================================================
Received on Wed Jul 28 2004 - 17:46:02 BST

This archive was generated by hypermail 2.2.0 : Sun Jun 24 2018 - 04:00:02 BST