#11409 [Dup->Csd]: Debug function: get caller function stack
| From: | visualmind@php.net | Date: | Thu, 29 Sep 2005 19:02:59 +0000 |
| Subject: | #11409 [Dup->Csd]: Debug function: get caller function stack | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-85783@lists.php.net to get a copy of this message | ||
ID: 11409
Updated by: visualmind@php.net
Reported By: bachi2 at insign dot ch
-Status: Duplicate
+Status: Closed
Bug Type: Feature/Change Request
Operating System: (all)
PHP Version: 4.0.5
New Comment:
Thank you for your bug report. This issue has already been fixed
in the latest released version of PHP, which you can download at
http://www.php.net/downloads.php
This feature has been fulfilled starting by version 4.3.0 You can use
debug_trace www.php.net/debug_backtrace
Previous Comments:
------------------------------------------------------------------------
[2002-01-28 20:56:38] yohgaki@php.net
Use APD for now.
------------------------------------------------------------------------
[2001-06-11 17:38:49] bachi2 at insign dot ch
It would be a *HUGE* debugging help, if there would be a function that
returns the current caller function stack. So on a given position or in
an error condition, one could just output the nested function calls to
this position.
Debugging without is quite hard if you have utility functions/methods
that are used widely in a project. If they produce an error because of
the params, how can u find out which function/method called it (thus
must be debugged)?
Such a debugging function would just be great - imho of better use than
the variables snapshot with the current debug functions.
Regards, Martin Bachmann
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=11409&edit=1