Xdebug
| Xdebug | |
|---|---|
An Xdebug error message on Wikimedia Commons | |
| Developer | Derick Rethans |
| Release | May 8, 2002[1] |
| Stable release | 3.2.1
/ March 21, 2023 |
| Written in | C |
| Available in | English |
| Type | Debugger |
| License | Permissive license, derived from the MIT license |
| Website | xdebug |
| Repository | |

Xdebug is a PHP extension which provides debugging and profiling capabilities.[2] It uses the DBGp debugging protocol.
The debug information that Xdebug can provide includes the following:
- full parameter display for user defined functions
- function name, file name and line indications
- support for member functions
- memory allocation
- protection for infinite recursions
Xdebug also provides:
- profiling information for PHP scripts[4]
- code coverage analysis
- capabilities to debug your scripts interactively with a debugger front-end.[5]
Xdebug is also available via the PECL.[6]
See also
- Debugger
- Dynamic program analysis
- Software performance analysis
- Optimization
- DBG (another open source PHP debugger)
- Zend Studio (the Zend Debugger is an alternative to Xdebug)
References
- ^ Rethans, Derick. "Release version 0.7.0". github. Retrieved 16 May 2020.
- ^ 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 978-1-59059-819-1.
- ^ 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 978-0-596-10101-5.
- ^ Henderson, Cal (2006-05-16). "Bottlenecks". Building Scalable Web Sites. Sebastopol, CA: O'Reilly Media. pp. 170 – 171. ISBN 0-596-10235-6.
- ^ Masters, Jon; Blum, Richard (2007-03-12). "LAMP". Professional Linux Programming. Hoboken, New Jersey: John Wiley & Sons. p. 426. ISBN 978-0-471-77613-0.
- ^ 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.
External links
Content Disclaimer
Informasi ini disarikan dari Wikipedia dan disajikan kembali untuk tujuan edukasi. Konten tersedia di bawah lisensi CC BY-SA 3.0. Kami tidak bertanggung jawab atas ketidakakuratan data yang bersumber dari kontribusi publik tersebut.
- The information displayed on this website is sourced in part or in whole from Wikipedia and has been adapted for the purpose of restating it. We strive to provide accurate and relevant information, however:
- There is no guarantee of absolute accuracy. Wikipedia is an open, collaborative project that can be edited by anyone, so information is subject to change.
- It is not intended to constitute professional advice. The content displayed is for informational and educational purposes only. For important decisions (e.g., medical, legal, or financial), please consult a professional.
- Content copyright. Wikipedia is licensed under the Creative Commons Attribution-ShareAlike License (CC BY-SA). This means that content may be reused with appropriate attribution and shared under a similar license.
- Responsible use. Any risk arising from the use of information from this website is entirely the responsibility of the user.