php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Request #11410 Debug function: get caller function stack
Submitted: 2001-06-11 17:39 UTC Modified: 2001-06-14 16:28 UTC
From: bachi2 at insign dot ch Assigned:
Status: Not a bug Package: Feature/Change Request
PHP Version: 4.0.5 OS: (all)
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: bachi2 at insign dot ch
New email:
PHP Version: OS:

 

 [2001-06-11 17:39 UTC] 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


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2001-06-14 16:28 UTC] sniper@php.net
submitted twice

 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Wed Jan 15 16:01:31 2025 UTC