Re: Which file called the function?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Dec 20, 2007 9:47 AM, Christoph Boget <jcboget@xxxxxxxxx> wrote:
[snip!]
> I need it primarily for debugging purposes.  I've got a single function
> that's called by several files.  And instead of modifying all the files
> calling the function to add logging, it would be nice to just modify the
> function, adding logging only to it to also include what script called it.
>
>
> I know I can get the information from debug_backtrace but I figured there
> might be a better/easier way.

    You probably want http://www.xdebug.org/.

-- 
Daniel P. Brown
[Phone Numbers Go Here!]
[They're Hidden From View!]

If at first you don't succeed, stick to what you know best so that you
can make enough money to pay someone else to do it for you.

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux