carta

drgn(1) on Linux

The text 1e0821ce41ca, as Debian 12 (Bookworm) shipped it.

drgn 0.0.22 drgn (pronounced "dragon") is a debugger with an emphasis on programmability. drgn exposes the types and variables in a program for easy, expressive scripting in Python. For example, you can debug the Linux kernel: Although other debuggers like GDB have scripting support, drgn aims to make scripting as natural as possible so that debugging feels like coding. This makes it well-suited for introspecting the complex, inter-connected state in large programs. Additionally, drgn is designed as a library that can be used to build debugging and introspection tools; see the official tools. drgn was developed at Meta for debugging the Linux kernel (as an alternative to the crash utility), but it can also debug userspace programs written in C. C++ support is in progress. In addition to the main Python API, an experimental C library, libdrgn, is also available. See the Installation instructions. Then, start with the User Guide.

drgn(1) on Linux now