这似乎不是“调试”版本
This does not seem to be a “Debug” build
我正在尝试将调试器与 android 设备一起使用,并得到带有以下警告消息的窗口:
这似乎不是"调试"版本。 按文件名和行号设置断点可能会失败。 第 .debug_info 部分:未找到。 第 .debug_abbrev 节:未找到。 第 .debug_line 节:未找到。 第 .debug_str 部分:未找到。 第 .debug_loc 节:未找到。 第 .debug_range 节:未找到。 第 .gdb_index 节:未找到。 部分 .note.gnu.build-id:未找到。 部分 .gnu.hash:未找到。 第 .gnu_debuglink 节:未找到。
我正在使用基于Qt 5.1.1(GCC 4.6.1,64位)的Qt Creator 2.8.1。Qt库,应用程序和所有依赖项都是使用GCC 4.8构建的。
在这种情况下,最奇怪的是我可以为主应用程序使用调试器,但所有库都无法进行调试。
通过将库类型从动态更改为静态解决了该问题。
附言也许有人知道为什么动态库无法在 android 下进行调试?
相关文章:
- 发布版本中的 Qt 隐形组合框(但不在调试版本中)
- Visual Studio C++ - 确定是在调试版本还是发布版本中
- 在h文件上内联发布版本并在cpp上实现调试版本的函数
- 为什么我的程序仅适用于调试版本
- 为什么迭代器调试在调试版本中会减慢 std::unordered_map 200 倍?
- MacOS中的LIBC 的如何使用(链接)调试版本
- import_array在嵌入式Python C API的调试版本中不起作用
- Qt 网络引擎调试版本崩溃
- 调试版本SEGFAULT而发布版本有效-是RVO吗
- 如何在调试版本中测试断言,但在发布中返回值
- 游戏"Life"中发布和调试版本之间的加速比例奇怪
- Boost Bimap 在调试版本中占用太多内存
- 为调试版本启用仅标头库的优化
- 调试版本仅崩溃
- 使用调试版本覆盖新版,而不会损坏放置新版
- SSE2、Visual Studio 2010和调试版本
- PDB无法显示发布版本崩溃的确切行号,但在二进制调试版本的情况下显示精确行号
- 令人费解的Boost.Python 1.54(调试版本)对Windows上的Python27.lib的依赖关系
- 发布版本中的运行时间过长(调试版本正常)
- 发布 NetBeans 项目的生成和调试版本