gdb
0 人感兴趣 · 7 次引用
- 最新
- 推荐
程序调试利器——GDB 使用指南
GDB是GNU Debugger的简称,其作用是可以在程序运行时,检测程序正在做些什么。GDB程序自身是使用C和C++程序编写的,但可以支持除C和C++之外很多编程语言的调试。



Go: 使用 Delve 和 Core Dump 来调试
core dump(核心转储)是包含程序内存意外终止快照的文件。它用于事后调试以了解崩溃原因和其中涉及的变量。Go提供了环境变量GOTRACEBACK 用于控制程序崩溃时生成的输出。 此变量还可以强制生成core dump,从而可以进行调试。