【问题标题】:gdb debugger Error : "-var-create: Unable to create variable object"gdb 调试器错误:“-var-create:无法创建变量对象”
【发布时间】:2012-09-13 12:32:03
【问题描述】:

我在 Windows 7 x86 系统上使用带有 C/C++ 插件的 Netbeans。调试代码时出现错误。但是当我运行代码时,它运行时没有任何问题。当我开始调试代码时,它在“main()”应用程序之前的 2-3 行处停止。并且得到如下调试器错误:

(gdb) 
17^error,msg="-var-create: unable to create variable object"
(gdb) 
18^done,changelist=[]
(gdb) 
19^error,msg="-var-create: unable to create variable object"
(gdb) 
20^done,changelist=[]
(gdb) 
21^done,name="var3",numchild="4",value="{...}",type="const MyVar",has_more="0"
(gdb) 
24-var-show-attributes "var3"
.
.
.
.

This application has requested the Runtime to terminate it in an unusual way.
Please contact the application's support team for more information.

我会很感激任何建议。

【问题讨论】:

    标签: c gcc gdb


    【解决方案1】:

    看起来它是 netbeans 中的一个错误。 http://netbeans.org/bugzilla/show_bug.cgi?id=205708

    试试其他版本。(你用的是什么版本,能不能更新一下,对别人有用)。谢谢

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2023-04-07
      • 2014-06-09
      相关资源
      最近更新 更多