From: Reini U. <ru...@x-...> - 2004-09-15 22:35:07
|
Jerome WAGNER schrieb: > if any of you is interested, there is a way to have xdebug2 and kcachegrind > work on windows > http://www.sklar.com/blog/index.php?/archives/42_PHP+5,+Xdebug+2,+and+KCache > grind+on+Windows.html Sure, it works out of the box (KDE via cygwin-x). I'm still fighting with compiling an updated apache and mod_php for cygwin though. I have successfulyly built apache and php-cli, but producing a rebasable mod_php4.dll (or even a fixed one) really is not that easy. Nobody was able do that so far... And all this just to test the memory exhaustion bug with certain versions. MSVC native versions do compile fine, linux versions of course also. Esp. php is very easy to build now. Before 4.3 it was a nightmare. > -----Original Message----- > From: php...@li... > [mailto:php...@li...]On Behalf Of Reini > Urban > Sent: mercredi 15 septembre 2004 12:33 > To: Dan Frankowski > Cc: PhpWiki discussion > Subject: Re: [Phpwiki-talk] Load PhpWiki page from the command-line for > APD > > > Dan Frankowski schrieb: > >>I'd like to run the Advanced PHP Debugger (APD) to try to get some >>detailed performance profiling. >> >>To do so, I have to be able to run PHP from the command-line to get a >>page I think is loading slowly. I have PHP 4.3.2, which has a command >>line interface. When I run > > > I use php-4.3.9 with xdebug, which has a much better profiler. > http://www.xdebug.org/docs-profiling2.php > But you need the latest version (CVS best), KDE and KCacheGrind. > > The old version is similar to APD, but I never used that with > perl -mDevel::DProf > > The zend debugger also has some good profiling support and works much > easier than via cmdline. -- Reini Urban http://xarch.tu-graz.ac.at/home/rurban/ |