在 QT 创建器"This does not seem to be a Debug build."中调试
Debugging in QT Creator "This does not seem to be a Debug build."
我正在尝试使用 QTCreator 2.2.81 调试一些球拍代码,并不断收到消息"这似乎不是"调试"版本"。因此,我想确保我至少可以在 gdb 中调试程序。我发现我无法在 GDB 中执行此操作,将以下行添加到我的 .gdbinit 文件中:
handle SIGSEGV nostop noprint
handle SIG33 nostop noprint pass
handle SIG32 nostop noprint pass
完成此操作后,我能够使用 GDB 成功调试程序。我不介意使用GDB,但它不是我正常工作流程的一部分,我宁愿使用Qt Creator提供的内置功能。我确保选中该选项以在Qt Creator中使用my.gdbinit文件,但我仍然遇到了同样的问题。关于我需要做什么才能在qt中进行调试的任何建议?
您必须将以下内容添加到 .pro 文件中:
CONFIG += debug
相关文章:
- C++核心准则 C35 对于接口类"A base class destructor should be either public and virtual, or protected and nonv
- 使用模板进行堆栈实现; "name followed by :: must be a class or namespace"
- 这对"With a stackless coroutine, only the top-level routine may be suspended."意味着什么
- 可视化C++:发布模式的运行时库作为'Multi-threaded Debug DLL'
- 为什么我会" void value not ignored as it ought to be"?
- 如何解决"no Qt platform plugin could be initialized"问题?
- LNK1104:无法打开libpjproject-i386-Win32-vc14-Debug-Static.lib
- C++/SDL "initial value of reference to a non-const must be an lvalue"
- 在 Boost::fiber 中引发的BOOST_ASSERT故障 Visual Studio "Debug" 构建
- 我在主函数的左括号上不断收到错误,消息为obj\Debug\main.o||在函数"ZN11linked_listC1Ev"中:|
- 如何修复输出日志中的"EnableInput can only be specified on a Pawn for its Controller"错误
- 流行"Debug Assertion Failed"
- _BitScanForward64 can not be found
- C++复制函数重载导致"must be a nonstatic member function"错误
- 通过分隔符分隔包含 UTF-16 BE 文本的uint8_t数组
- C++ 错误:"array must be initialized with a brace-enclosed initializer"
- "expression must be a modifiable lvalue"是什么意思?
- 如何摆脱导入的 make 项目中的 Eclipse 索引器"Type std::... could not be resolved"错误
- 在 QT 创建器"This does not seem to be a Debug build."中调试
- Qt - 清洁和重建后的"This does not seem to be a debug build"