[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: Tue, 10 Apr 2007 16:16:47 +0200

The following NEW bug has been ADDED.
======================================================================
http://bugs.xdebug.org/bug_view_page.php?bug_id=0000253
======================================================================
Reporter: stanv
Handler:
======================================================================
Project: Xdebug
Bug ID: 253
Category: Usage problems
Reproducibility: always
Severity: major
Priority: normal
Status: new
Operating System:
PHP Version: 5.2.1
Xdebug Version: 2.0.0rc3
======================================================================
Date Submitted: 2007-04-10 16:16 CEST
Last Modified: 2007-04-10 16:16 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);
?>
======================================================================

Bug History
Date Modified Username Field Change
======================================================================
2007-04-10 16:16stanv New Bug
2007-04-10 16:16stanv Bug Monitored: stanv
======================================================================
Received on Tue Apr 10 2007 - 16:16:49 BST

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