FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » Imported messages » comp.lang.php » How to get real debug_backtrace using register_tick_function
Show: Today's Messages :: Polls :: Message Navigator
Return to the default flat view Create a new topic Submit Reply
How to get real debug_backtrace using register_tick_function [message #170744] Thu, 18 November 2010 13:28 Go to previous message
kenorb is currently offline  kenorb
Messages: 2
Registered: November 2010
Karma:
Junior Member
I'm using the register_tick_function as follows:

<code>
function debugger_tick() {
global $debugger_trace;
$debugger_trace[microtime()] = debug_backtrace(TRUE);
}
</code>

Why the backtraces are always the same, from the place where I
registered function via register_tick_function() to that tick
function.
It's possible to get the backtrace of the executed code, not tick
function?
If not, are there any alternatives? Especially without adding any
additional PHP module
[Message index]
 
Read Message
Read Message
Read Message
Previous Topic: Stats comp.lang.php (last 7 days)
Next Topic: Loading missing extensions in Windows
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Wed Dec 18 04:36:02 GMT 2024

Total time taken to generate the page: 0.03835 seconds