Error: Multiple errors reported.\ Failed to execute MI command: -var-create

本文详细记录了在使用NDK进行COCOS2D-X项目调试过程中遇到的问题及尝试的各种解决方案,包括设置编译选项、更新ADT版本等。

Error: Multiple errors reported.

 Failed to execute MI command:

 -var-create - *

 Error message from debugger back end: 

-var-create: 

unable to create variable object

 Unable to create variable object

Internal error: pc 0x7f259f88d5c3 in read in psymtab, but not in symtab.

NDK COCOS2D-X

ADT Eclipse

调试只能监视全局变量看不见局部变量的值

http://www.blogjava.net/fancydeepin/archive/2012/11/19/eclipse_sdk_gdb.html




Internal error: 【pc 0xxxxxxx】 in read in psymtab, but not in symtab


http://www.cnblogs.com/lijunjie/archive/2010/12/07/1898852.html



http://stackoverflow.com/questions/22327240/ndk-gdb-debugging-fails-to-load-symbols-says-unable-to-get-location-for-thread

try compiling withAPP_OPTIM:=debug in addition to NDK_DEBUG=1 


更新ADT到最新版本


20140513我测了上面所有方法,全都没用。我是NDK r9d。谁能救救我??

评论 2
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值