c++ - 多线程调试器

标签 c++ c gdb debugging pthreads

<分区>

GDB 在使用多线程 (pthread) 进行调试时会出现严重问题。 *nix 上是否还有其他适用于 C/C++ 的良好多线程调试器?

最佳答案

我个人在调试多线程应用程序时没有遇到任何 GDB 特定问题,因此详细说明您遇到的“问题”可能对您有所帮助。这将帮助我们更好地回答您。

我过去在 Linux 中调试多线程应用程序时使用过几种辅助工具,其中大部分都是基于 GDB 而不是替代它。这些包括:

此外,如果您不熟悉 Linux 调试(即使您不是!),我强烈推荐您可以在此处找到标题为“调试 Linux 应用程序”的论文:

http://www.scribd.com/doc/3009706/Debugging-Linux-Applications

关于c++ - 多线程调试器,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/77522/

相关文章:

c++ - 在一行中压缩分配和错误检查有什么好处?

c++ - 获取错误 : "error: conflicting types for ‘call_celsius’ "and "note: previous implicit declaration of ‘call_celsius’ was here"

c - 检索 PID 时 pclose 随机出现段错误

c++ - Codelite 调试器错误 : Failed to locate gdb! 在 '/usr/bin/gdb'

c++ - 错误 C2109 : subscript requires array or pointer type

c++ - CMake 在 Linux 中构建共享对象 .so 文件

c++ - 为另一个线程设置线程执行状态

c - 树中递归的重新分配

php - 获取我的IP地址

c++ - QtCreator : is it possible to debug remote GUI app? (GDB)