[xdebug-dev] Bug 0000253: XDebug causes all error log messages to be trimmed at 1024 bytes, irrespective of "log_errors_max_len"

From: <noreply[@]lists.xdebug.org>
Date: Mon, 23 Apr 2007 16:24:14 +0200

The following bug has been RESOLVED.
======================================================================
http://bugs.xdebug.org/bug_view_page.php?bug_id=0000253
======================================================================
Reporter: stanv
Handler: derick
======================================================================
Project: Xdebug
Bug ID: 253
Category: Usage problems
Reproducibility: always
Severity: major
Priority: normal
Status: resolved
Operating System:
PHP Version: 5.2.1
Xdebug Version: 2.0.0rc3
Resolution: unable to duplicate
======================================================================
Date Submitted: 2007-04-10 16:16 CEST
Last Modified: 2007-04-23 16:24 CEST
======================================================================
Summary: XDebug causes all error log messages to be trimmed at 1024 bytes, irrespective of "log_errors_max_len"
Description:
In the following code, the trace will be clipped at 1024 mark when xdebug
is on, and will behave properly if xdebug is disabled in php.ini (no
clipping):

<?php
error_reporting(E_ALL|E_STRICT);
ini_set('display_errors',0);
ini_set('log_errors',1);
ini_set('log_errors_max_len','0');
ini_set('html_errors',0);
ini_set('error_log','c:\log.txt');

function deepTrace($a, $b, $c) {
        if ($c < 50) {deepTrace($a, $b, $c+1);} else {throw new
Exception('Example exception that together with the trace is over 1024
bytes.');}
}
deepTrace('example','function',0);
?>
======================================================================

----------------------------------------------------------------------
 derick - 2007-04-23 16:24 CEST
----------------------------------------------------------------------
I can't reproduce it - it works just fine here with apache 1.3.31 and PHP
5.2.2dev and the latest Xdebug from CVS.

Bug History
Date Modified Username Field Change
======================================================================
2007-04-10 16:16stanv New Bug
2007-04-10 16:16stanv Bug Monitored: stanv
2007-04-23 16:24derick Bugnote Added: 0000591
2007-04-23 16:24derick Assigned To => derick
2007-04-23 16:24derick Resolution open => unable to duplicate
2007-04-23 16:24derick Status new => resolved
======================================================================
Received on Mon Apr 23 2007 - 16:24:18 BST

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