You are here: Re: Any method to trace function and execution calls? « PHP Programming Language « IT news, forums, messages
Re: Any method to trace function and execution calls?

Posted by naixn on 12/08/06 21:43

CptDondo wrote :
> Darren Dunham wrote:
>> I've had to do some work with an existing PHP application.
>> Unfortunately, the app is pretty big, undocumented, and heavily (and in
>> some places, inappropriately) abstracted. I've spent a day with it and
>> am having a difficult time just trying to understand who calls what and
>> passes what information to functions overloaded from a class called via
>> a three-level-deep require...
>>
>> Is there any method of logging or displaying some kind of call trace as
>> a php program is run? That way I could at least tell which functions
>> are getting called with which arguments.
>>
>> Thanks for any help with this.
>
> syslog
>
> or you can try to recompile PHP with xdebug <http://www.xdebug.org/>
>
> --Yan

Why recompile ? It works well as an extension :p

Use http://kcachegrind.sf.net/ to read xdebug generated files :)

--
Naixn
http://fma-fr.net

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация