开发者

PHP - I want to know how to get function trace

Is there any way to know all previous functions were called before a point in my code? For example: I set a point in abc.php in my project, and I want to get all functions that were called before that point was reached. debug_b开发者_如何学Goacktrace() does not help here. Thanks so much :)


xdebug can generate function traces for you. See: http://xdebug.org/docs/execution_trace


use xdebug it will show trace and much more useful info


Use xdebug for trace and webgrind for vizualization this one.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜