if you are looking for better/different alternatives to APD, check the xdebug website http://www.xdebug.org or download it from PECL http://pecl.php.net/xdebug
APD Functions
Contact information
If you have comments, bugfixes, enhancements or want to help developing this beast, you can send an mail to » apd@mail.communityconnect.com. Any help is very welcome.
Table of Contents
- apd_breakpoint — Detiene el intérprete y espera un retorno de carro desde el socket
- apd_callstack — Devuelve la pila actual de llamados como una matriz
- apd_clunk — Lanza una advertencia y una pila de llamadas
- apd_continue — Reinicia el intérprete
- apd_croak — Lanza un error, una pila de llamadas y detiene la ejecución
- apd_dump_function_table — Imprime la tabla actual de funciones
- apd_dump_persistent_resources — Devuelve todos los recursos persistentes como una matriz
- apd_dump_regular_resources — Devuelve todos los recursos regulares actuales como una matriz
- apd_echo — Imprime hacia el socket de depuración
- apd_get_active_symbols — Obtiene una matriz de los nombres de las variables actuales en el ámbito local
- apd_set_pprof_trace — Inicia la depuración de la sesión
- apd_set_session_trace — Inicia la depuración de la sesión
- apd_set_session — Cambia o establece el nivel de depuración actual
- apd_set_socket_session_trace — Inicia la depuración remota de la sesión
- override_function — Sobreescribe funciones incorporadas
- rename_function — Renombra nombre_original a nombre_nuevo en el símbolo function_table global
APD Functions
judas dot iscariote at gmail dot com
08-May-2006 07:52
08-May-2006 07:52
bugbuster at darrencampbell dot com dot au
22-May-2005 10:53
22-May-2005 10:53
Locate the root-cause of defects, fast.
If you need to locate the source of a defect in complicated web-based PHP applications with lots of conditional includes (osCommerce and Zen-Cart are reasonably complex), use APD to create a profile dump.
Then filter the dump for lines containing "!" to produce a list of included (required) files in the order they were included.
On my Win98 dev box I use: find "!" dumpfile > trace_program.txt
I use the trace_program.txt to backtrack to the root-cause of defects appearing in the browser. Great for maintaining systems you did not build yourself.
ng4rrjanbiah at rediffmail dot com
05-Apr-2005 07:52
05-Apr-2005 07:52
Some useful links on APD:
1. Profiling PHP Applications ( http://www.schlossnagle.org/~george/talks/Profiling-phpworks-2004.pdf ), [1.40 MB], George Schlossnagle, 2004-09-23
2. PHP Performance Profiling ( http://www.linuxjournal.com/article/7213 ), [13.16 KB], Jonathan Oxer, 2003-10-21
3. APD Wiki ( http://www.wiki.cc/php/Apd )
HTH,
R. Rajesh Jeba Anbiah
yoghurtmetperzik at gmail dot com
25-Jan-2005 04:15
25-Jan-2005 04:15
If pprofp reports 'No such file or directory', it's probably because it contains an incorrect path to your php client. Open pprofp in your fav editor, edit the first line, and try again.
