2012-09-13 52 views
1

我在Windows 7 x86系統上使用Netbeans和C/C++插件。調試代碼時出現錯誤。但是當我運行代碼時,它運行時沒有任何問題..一旦我開始調試代碼,它會在「main()」應用程序之前的2-3行處停止。並且得到調試器錯誤如下:gdb調試器錯誤:「-var-create:無法創建可變對象」

(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. 

我會很感激任何建議。

回答