php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Request #32102 Printing backtrace in HTML table format
Submitted: 2005-02-25 07:16 UTC Modified: 2005-02-25 20:01 UTC
From: ceefour at gauldong dot net Assigned:
Status: Not a bug Package: Feature/Change Request
PHP Version: * OS: *
Private report: No CVE-ID: None
 [2005-02-25 07:16 UTC] ceefour at gauldong dot net
Description:
------------
debug_print_backtrace() is very useful. But it'll be greater if it uses a table format similar to xdebug's automatic backtrace on error. It should also filter arguments so that deeply nested objects/arrays aren't displayed.

My feature request is that a PHP.ini option should be introduced that will automatically display a backtrace upon any unhandled error. This will be very handy when debugging, without needing to use a helper such as xdebug or calling print_backtrace manually.


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2005-02-25 20:01 UTC] helly@php.net
Thank you for taking the time to write to us, but this is not
a bug. Please double-check the documentation available at
http://www.php.net/manual/ and the instructions on how to report
a bug at http://bugs.php.net/how-to-report.php

debug_back_trace() is an analysis tool which should never be output to users. So there is no need for beautifying the output or filtering it. If you need such filtered info please either write your filters or use xdebug.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Apr 19 14:01:30 2024 UTC