PHP_Debug
PHP_Debug提供一种简单、快速的方式来调试PHP代码并生成一些程序运行痕迹信息。PHP_Debug能够生成SQL/PHP执行时间,检查某一部分代码的性能,显示执行查询的SQL语句,实现功能跟踪调试,显示全局变量,查看变量运行期值,显示php版本和已加载扩展功能,显示所有解析过的文件源码...
The basic purpose of PHP_Debug is to provide assistance in debugging PHP code, by "debug" i don't mean "step by step debug" but program trace, variables display, process time, included files, queries executed, watch variables... These informations are gathered through the script execution and therefore are displayed at the end of the script (in a nice floating div or a html table) so that it can be read and used at any moment. (especially useful during the development phase of a project or in production with a secure key/ip) ==
Features
- General process time SQL/PHP
- Check performance of parts of code
- Show sql of executed queries (with highlighting and execution time)
- Dump of all types of variable in a graphical way
- Functionnal/trace debug (with line, file, class, function)
- Show globals vars ($GLOBALS, $_POST, $_GET, $_COOKIE ...)
- 2 renderers, as a HTML talbe or as a floating div
- Allow to watch variables (+ watch on type of var)
- Show php version & loaded extensions
- Allow to show source code of all parsed file (with TEXT_Highlighter)
- Static methods to debug/trace out of the debug renderer display
- Debug infos are classified by type (14 types available)
- Can replace the PHP error handler to show messages inside the debug renderer