DBGp

From Wikipedia, the free encyclopedia
Jump to navigation Jump to search

Common DeBugGer Protocol as used by Xdebug[1] and potentially other implementations. DBGp is a simple protocol for use with language tools and engines for the purpose of debugging applications.[2] The protocol provides a means of communication between a debugger engine (scripting engine, Virtual Machine, etc.) and a debugger IDE.

Criticisms

[edit | edit source]

DBGp has not received widespread adoption as a server protocol. Most implementations are client-side so that IDEs may be compatible specifically with Xdebug, which remains popular.

Criticisms have included:[3][4]

  • Performance (DBGp is a text-mode protocol)
  • Security (DBGp has a complex connection mechanism that could lead to buggy vulnerable implementations)
  • Generality (DBGp is designed to be compatible with multiple programming languages rather than being optimized for PHP)

A primary author of the DBGp specification has defended the design.[5]

References

[edit | edit source]
  1. ^ Lua error in Module:Citation/CS1/Configuration at line 2172: attempt to index field '?' (a nil value).
  2. ^ Lua error in Module:Citation/CS1/Configuration at line 2172: attempt to index field '?' (a nil value).
  3. ^ Lua error in Module:Citation/CS1/Configuration at line 2172: attempt to index field '?' (a nil value).[permanent dead link]
  4. ^ Lua error in Module:Citation/CS1/Configuration at line 2172: attempt to index field '?' (a nil value).
  5. ^ Lua error in Module:Citation/CS1/Configuration at line 2172: attempt to index field '?' (a nil value).