cocos2d_x+lua【0】 ------使用Decoda调试lua

oDustGgg个人原创、欢迎转载、转载请注明出处、http://blog.****.net/odustggg/article/details/8175059

我们就使用cocos2d_X引擎中的hellolua项目进行测试好了

将hello.lua文件直接拖进Decoda中、然后选择上方菜单的debug、会弹出下图的项目设置

cocos2d_x+lua【0】 ------使用Decoda调试lua

command选项选择hellolua.exe文件

working选项选择项目资源路径、确认

cocos2d_x+lua【0】 ------使用Decoda调试lua

可以先随便设个断点跟一下、F5下到下个断点、F10逐行跟

在右下角有个Watch工具 可以将数据拖进去实时跟一下、全部跳过后就进入页面了

cocos2d_x+lua【0】 ------使用Decoda调试lua