There seem to be a mistake with the name of the apd_set_socket_session_trace function. In the latest build (version 1.0.1) of apd for PHP, the function is called apd_set_session_trace_socket.
The APD pecl page also have some problems. Some of the links direct you to some adt pages.
Fonctions APD
Informations de contact
Si vous avez des commentaires, des corrections de bogues ou si vous voulez développer des améliorations pour cette extension, vous pouvez envoyer un message à » apd@mail.communityconnect.com. Toute aide est vraiment la bienvenue.
Sommaire
- apd_breakpoint — Stoppe l'interpréteur et attend un CR depuis la socket
- apd_callstack — Retourne la pile d'appel courante dans un tableau
- apd_clunk — Lance une alerte et un callstack
- apd_continue — Redémarre l'interpréteur
- apd_croak — Lance une erreur, un callstack et sort
- apd_dump_function_table — Affiche la table courante de fonction
- apd_dump_persistent_resources — Retourne toutes les ressources persistantes dans un tableau
- apd_dump_regular_resources — Retourne toutes les ressources régulières courantes dans un tableau
- apd_echo — Écrit dans la socket de déboguage
- apd_get_active_symbols — Récupère un tableau contenant les noms des variables courantes de portée locale
- apd_set_pprof_trace — Démarre la session de déboguage APD
- apd_set_session_trace_socket — Démarre la session de déboguage à distance
- apd_set_session_trace — Démarre la session de déboguage APD
- apd_set_session — Modifie ou définit le degré de déboguage courant
- override_function — Surcharge les fonctions intégrées
- rename_function — Renomme une fonction intégrée dans la table des fonctions globales
northon_patrick3 at yahoo dot ca
26-Jun-2008 08:36
judas dot iscariote at gmail dot com
07-May-2006 10:52
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
bugbuster at darrencampbell dot com dot au
22-May-2005 01: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 10: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 07: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.
