/ Published in: PHP
URL: http://fr.php.net/manual/fr/function.debug-print-backtrace.php
Lorsque vous cherchez le cheminement jusqu'à une fonction/méthode particulière, vous ajoutez un « debugprintbacktrace() ; » dans celle-ci et lors de l’exécution ça vous affiche un truc du style :
0 MusicFactory->loadDataForDetail(925658) called at [xxxxxx.php:58] 1 ProductManager->findByProductRefForDetail(925658, 3, ) called at [zzzzz.class.php:72] 2 ProductAction->execute() called at [eeeee.class.php:539] 3 Controller->perform() called at [ffffff.php:121]… tous les appels sont affichés, avec les paramètres et les lignes dans chaque fichiers inclus.
Expand |
Embed | Plain Text
debug_print_backtrace() ;
You need to login to post a comment.
