Jump to content

Xdebug

From Wikipedia, the free encyclopedia

This is an old revision of this page, as edited by BrownHairedGirl (talk | contribs) at 12:23, 7 August 2019 (remove links to deleted portals). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

Xdebug
Developer(s)Derick Rethans
Initial releaseMay 2, 2002 (2002-05-02)
Stable release
2.7.2 / May 6, 2019; 5 years ago (2019-05-06)
Repository
Written inC
Available inEnglish
TypeDebugger
LicensePermissive license, derived from the MIT license
Websitexdebug.org
UML component diagram for Xdebug and PHP, integrated via the browser and an IDE

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]

See also

References

  1. ^ McArthur, Kevin (2008-03-24). "Testing, Development, and Continuous Integration". Pro PHP: Patterns, Frameworks, Testing and More. New York City, New York: Apress. pp. 120–124. ISBN 1-59059-819-9.
  2. ^ Sklar, David; Trachtenberg, Adam (2009-05-11). "Error Handling, Debugging, and Testing". PHP Cookbook (2nd ed.). Sebastopol, CA: O'Reilly Media. p. 618 – 619. ISBN 0-596-10101-5.
  3. ^ Henderson, Cal (2006-05-16). "Bottlenecks". Building Scalable Web Sites. Sebastopol, CA: O'Reilly Media. pp. 170–171. ISBN 0-596-10235-6.
  4. ^ Masters, Jon; Blum, Richard (2007-03-12). "LAMP". Professional Linux Programming. Hoboken, New Jersey: John Wiley & Sons. p. 426. ISBN 0-471-77613-0.
  5. ^ Gerner, Jason; Naramore, Elizabeth; Owens, Morgan L.; Warden, Matt (2005-12-05). "PEAR and PECL". In Gerner, Jason (ed.). Professional LAMP: Linux, Apache, MySQL and PHP Web Development. Hoboken, New Jersey: John Wiley & Sons. p. 197. ISBN 0-7645-9723-X.