Xdebug

From Infogalactic: the planetary knowledge core
Jump to: navigation, search
Xdebug
100px
Developer(s) Derick Rethans
Initial release May 2, 2002 (2002-05-02)
Stable release 2.4.0 (March 3, 2016; 8 years ago (2016-03-03)) [±]
Development status Active
Written in C
Available in English
Type Debugger
License The Xdebug license
Website www.xdebug.org

Xdebug is a PHP extension which provides debugging and profiling capabilities.[1] It uses the DBGp debugging protocol.

The debug information that Xdebug can provide includes the following:

  • stack and function traces in error messages[2] with:
  • full parameter display for user defined functions
  • function name, file name and line indications
  • support for member functions

Xdebug also provides:

  • profiling information for PHP scripts[3]
  • code coverage analysis
  • capabilities to debug your scripts interactively with a debugger front-end.[4]

Xdebug is also available via the PECL.[5]

File:Compd 002 xdebug.svg
UML component diagram for Xdebug and PHP, integrated via the browser and an IDE
File:Wikimedia Commons fatal error allowed memory size exhausted.png
An Xdebug error message on Wikimedia Commons

See also

References

  1. Lua error in package.lua at line 80: module 'strict' not found.
  2. Lua error in package.lua at line 80: module 'strict' not found.
  3. Lua error in package.lua at line 80: module 'strict' not found.
  4. Lua error in package.lua at line 80: module 'strict' not found.
  5. Lua error in package.lua at line 80: module 'strict' not found.

External links


<templatestyles src="Asbox/styles.css"></templatestyles>