[xdebug-general] xdebug stack traces doesn't work

From: Ronny Riedel <tateus2002[@]yahoo.de>
Date: Wed, 16 Jun 2004 14:11:49 +0200 (CEST)


I have the same problem like

"[xdebug-general] trace on php warnings?" posted by
Mark D. Anderson (Sun Jun 13 2004 - 07:35:15 CEST)

but I have no "set_error_handler" calls in my code. I
use "Apache/2.0.49 (Unix)" with "PHP Version 5.0.0RC3"
and I think I installed XDebug correctly. PHPINFO()

   This program makes use of the Zend Scripting
Language Engine:
   Zend Engine v2.0.0RC3, Copyright (c) 1998-2004 Zend
     with Xdebug v2.0.0dev, Copyright (c) 2002, 2003,
2004, by Derick Rethans

and "xdebug.default_enable" in the section of xdebug
has the value "on". But a simple incorrect php-script

            function test () { echo "Hello world"; }
            function test2 () { tes(); } // call to
function "tes" instead of "test"

shows only

Fatal error: Call to undefined function tes() in
/[my-path]/htdocs/php_test.php on line 15

and no stack traces. Only if I modify the php-script
by adding xdebug_enable()

            xdebug_enable(); //new
            function test () {

the stack traces will be shown correctly. But I would
like to configure these feature by editing the entry
in the php.ini-file and from an old installation I
know that I don't have to put these line into all my

The second problem I have is, that apache produces a
core.dump-file if I reload a wrong php-script again
and again and again (by holding F5 down). If I disable
xdebug in php.ini (deleting the entry
"zend_extension=xdebug.so"), apache won't do so.

PS: I run apache/php/xdebug on a dual opteron system.
"uname -m -r -s" produce the following output:
> Linux 2.4.21-215-smp x86_64


Bestellen Sie Y! DSL und erhalten Sie die AVM "FritzBox SL" für 0€.
Sie sparen 119€ und bekommen 2 Monate Grundgebührbefreiung.
Received on Wed Jun 16 2004 - 14:11:51 BST

This archive was generated by hypermail 2.2.0 : Mon Jun 25 2018 - 06:00:03 BST