我正在尝试使用android studio调试本机c / c ++,执行gdb调试器,但断点没有命中。 gdb向我显示以下消息:
No symbol table is loaded. Use the "file" command.
执行“file”命令后:
(gdb) file
A program is being debugged already.
Are you sure you want to change the file? (y or n) [answered Y; input not from terminal]
No executable file now.
No symbol file now.
我已经尝试在build.gradle文件中向CFlags添加-g标志,但它无法解决问题。
我正在使用:
请帮忙!
答案 0 :(得分:0)
通过将android studio更新为1.4 beta 2并将调试器从gdb更改为lldb解决了这个问题。