V2EX  ›  英汉词典
Enqueued related words: Valgrind, LLDB

GDB

定义 Definition

GDB 通常指 GNU Debugger,是一款常用的命令行调试器,主要用于在 Linux/Unix 等环境中调试用 C、C++ 等语言编写的程序。它可以设置断点、单步执行、查看变量/内存、分析崩溃原因(如 core dump)等。
(在不同语境下,GDB 也可能被用作其他缩写,但最常见的是 GNU 调试器。)

发音 Pronunciation (IPA)

/ˌdʒiː diː ˈbiː/

例句 Examples

I used GDB to find where the program crashed.
我用 GDB 找到了程序崩溃的位置。

After compiling with debug symbols, she stepped through the code in GDB, inspected the stack trace, and located the null pointer bug.
在带调试符号编译后,她在 GDB 里单步执行代码、查看调用栈回溯,并定位了空指针漏洞。

词源 Etymology

GDB 是首字母缩写,来自 GNU Debugger。其中 GNU 是自由软件领域著名的递归缩写,原意为 “GNU’s Not Unix”(GNU 不是 Unix),体现了自由软件项目对类 Unix 系统工具链的重实现与发展。

相关词 Related Words

文学与作品 Literary Works

  • Debugging with GDB: The GNU Source-Level Debugger(GNU 官方手册)
  • The Art of Debugging with GDB, DDD, and Eclipse(Norman Matloff & Peter Jay Salzman)
  • Advanced Programming in the UNIX Environment(W. Richard Stevens 等;常在相关学习/实践中提及与对比调试工具使用)
关于   ·   帮助文档   ·   自助推广系统   ·   博客   ·   API   ·   FAQ   ·   Solana   ·   2173 人在线   最高记录 6679   ·     Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 12ms · UTC 00:03 · PVG 08:03 · LAX 16:03 · JFK 19:03
♥ Do have faith in what you're doing.