[xdebug-dev] Bug 0000314: PHP CLI Error Logging thwarted when XDebug Loaded

From: <noreply[@]lists.xdebug.org>
Date: Sat, 27 Oct 2007 20:25:54 +0200

The following bug has been CLOSED
======================================================================
http://bugs.xdebug.org/bug_view_page.php?bug_id=0000314
======================================================================
Reporter: rgpjones
Handler:
======================================================================
Project: Xdebug
Bug ID: 314
Category: Debug client (console)
Reproducibility: always
Severity: major
Priority: normal
Status: closed
Operating System: Debian Lenny
PHP Version: 5.2-dev
Xdebug Version: 2.1.0-dev
======================================================================
Date Submitted: 2007-10-05 14:45 CEST
Last Modified: 2007-10-27 20:25 CEST
======================================================================
Summary: PHP CLI Error Logging thwarted when XDebug Loaded
Description:
PHP Error Logging from CLI scripts is thwarted when the XDebug module is
loaded. This does not happen if the XDebug module is not included.

======================================================================

----------------------------------------------------------------------
 rgpjones - 2007-10-05 14:46 CEST
----------------------------------------------------------------------
Sorry, I raised this in "Debug Client". I meant "Usage Problems"

----------------------------------------------------------------------
 rgpjones - 2007-10-10 18:48 CEST
----------------------------------------------------------------------
Sorry... this is a dupe of http://bugs.xdebug.org/bug_view_page.php?bug_id=0000232

If you are experiencing this issue then you need to edit the source code:

file: xdebug.c
function: log_stack
remove the if clause:
if (is_cli) {
    return;
}

Recompile and install:
phpize
./configure --enable-xdebug
make
sudo make install

----------------------------------------------------------------------
 derick - 2007-10-27 20:25 CEST
----------------------------------------------------------------------
Fixed in CVS, thanks for your report!

Bug History
Date Modified Username Field Change
======================================================================
2007-10-05 14:45rgpjones New Bug
2007-10-05 14:45rgpjones Bug Monitored: rgpjones
2007-10-05 14:46rgpjones Bugnote Added: 0000735
2007-10-10 18:48rgpjones Bugnote Added: 0000736
2007-10-27 20:25derick Bugnote Added: 0000771
2007-10-27 20:25derick Status new => closed
======================================================================
Received on Sat Oct 27 2007 - 20:25:55 BST

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