2015-09-06 59 views
2

我正在嘗試使用android studio調試本機c/C++,它執行gdb調試器,但斷點沒有命中。 的GDB顯示此消息:NDK調試 - 斷點在Android Studio中沒有命中

No symbol table is loaded. Use the "file" command. 

一旦我執行「文件」命令:

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

我已經嘗試-g標誌添加到CFLAGS中的build.gradle文件,但它確實沒有解決問題。

我使用:

  • 的Android 1.3.2工作室穩定
  • 搖籃2.5實驗插件0.2.0

請幫幫忙!

回答

0

解決了這個問題,將android studio升級到1.4 beta 2,並將調試器從gdb更改爲lldb。

+3

你好。你能指出你如何設法改變調試器嗎?謝謝 ! – Virus721

相關問題