我在 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.
我将不胜感激任何建议。