[xdebug-dev] Bug 0000259: outputs exception backtrace even if exception is caught

From: <noreply[@]lists.xdebug.org>
Date: Wed, 25 Apr 2007 11:51:36 +0200

The following bug has been RESOLVED.
======================================================================
http://bugs.xdebug.org/bug_view_page.php?bug_id=0000259
======================================================================
Reporter: aferber
Handler: derick
======================================================================
Project: Xdebug
Bug ID: 259
Category: Feature/Change request
Reproducibility: always
Severity: major
Priority: normal
Status: resolved
Operating System:
PHP Version: 5.2.1
Xdebug Version: 2.0.0rc3
Resolution: fixed
======================================================================
Date Submitted: 2007-04-25 11:41 CEST
Last Modified: 2007-04-25 11:51 CEST
======================================================================
Summary: outputs exception backtrace even if exception is caught
Description:
XDebug seems to log a backtrace to the error log even if the exception is
caught and handled by the code.

This severely degrades functionality for me since for example doctrine
(which I'm using) uses exceptions internally for many things, which makes
it very difficult to distinguish those internal exceptions from the ones
that really matter (ie. uncaught exceptions).

IMHO this behaviour should be configurable, and maybe there should be a
function that can be called from exceptions handlers to log a backtrace of
the exception.
======================================================================

----------------------------------------------------------------------
 derick - 2007-04-25 11:51 CEST
----------------------------------------------------------------------
This is already configurable with the "xdebug.show_exception_trace"
setting, see the documentation at:
http://xdebug.org/docs-settings.php#show_exception_trace (and it defaults
to off). However, there have been some versions where this configuration
setting did not exist, so you might have to upgrade.

Bug History
Date Modified Username Field Change
======================================================================
2007-04-25 11:41aferber New Bug
2007-04-25 11:41aferber Bug Monitored: aferber
2007-04-25 11:51derick Bugnote Added: 0000597
2007-04-25 11:51derick Assigned To => derick
2007-04-25 11:51derick Resolution open => fixed
2007-04-25 11:51derick Status new => resolved
======================================================================
Received on Wed Apr 25 2007 - 11:51:40 BST

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