php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Request #11409 Debug function: get caller function stack
Submitted: 2001-06-11 17:38 UTC Modified: 2005-09-29 21:02 UTC
Votes:1
Avg. Score:5.0 ± 0.0
Reproduced:1 of 1 (100.0%)
Same Version:0 (0.0%)
Same OS:1 (100.0%)
From: bachi2 at insign dot ch Assigned:
Status: Closed Package: Feature/Change Request
PHP Version: 4.0.5 OS: (all)
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: bachi2 at insign dot ch
New email:
PHP Version: OS:

 

 [2001-06-11 17:38 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

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2002-01-28 20:56 UTC] yohgaki@php.net
Use APD for now.
 [2005-09-29 21:02 UTC] visualmind@php.net
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
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sun May 19 18:01:33 2024 UTC