首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >NSight gdb错误

NSight gdb错误
EN

Stack Overflow用户
提问于 2016-07-15 23:33:08
回答 0查看 322关注 0票数 1

当我尝试调试时,IDE NSight (eclipse)的“漂亮打印机”选项有问题。我已经用谷歌搜索过了,但我还没有找到解决我的问题的方法。

当我开始调试时,显示下一条消息:

代码语言:javascript
复制
Traceback (most recent call last):
  File "/usr/share/gdb/auto-load/usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.21-gdb.py", line 64, in <module>
    register_libstdcxx_printers(gdb.current_objfile())
  File "/usr/lib/x86_64-linux-gnu/../../share/gcc-5/python/libstdcxx/v6/__init__.py", line 33, in register_libstdcxx_printers
    register_libstdcxx_xmethods(obj)
  File "/usr/lib/x86_64-linux-gnu/../../share/gcc-5/python/libstdcxx/v6/xmethods.py", line 600, in register_libstdcxx_xmethods
    gdb.xmethod.register_xmethod_matcher(locus, ArrayMethodsMatcher())
  File "/usr/share/gdb/python/gdb/xmethod.py", line 266, in register_xmethod_matcher
    index = _lookup_xmethod_matcher(locus, matcher.name)
  File "/usr/share/gdb/python/gdb/xmethod.py", line 236, in _lookup_xmethod_matcher
    for i in range(0, len(locus.xmethods)):
AttributeError: 'gdb.Objfile' object has no attribute 'xmethods'

我不确定问题出在哪里,但是变量值没有出现,唯一的解决方案是禁用pretty print选项。

我使用的是Ubuntu 16.04,cuda工具包是从存储库安装的。

如果有人能帮上忙,我将不胜感激。

EN

回答

页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/38400004

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档