最终启动顺序错误无法执行MI命令-gdb-set target-async off

Yam*_*our 46 eclipse android android-ndk

我在eclipse上有两个项目,一个生成一个,另一个是使用它的Android应用程序我正在尝试使用本指南调试本机代码.

  1. 我设置我的应用程序可调试
  2. 我在调试模式下启动了我的应用程序
  3. 我运行ndk-gdb

当我运行本机调试器时,我得到:

Error in final launch sequence
Failed to execute MI command:
-gdb-set target-async off
Error message from debugger back end:
Cannot change this setting while the inferior is running.
Cannot change this setting while the inferior is running.
Run Code Online (Sandbox Code Playgroud)

小智 0

eclipse内部的gdb客户端和gdb服务器不匹配。尝试在 eclipse 中更改 gdb 客户端

调试设置 --> 调试器 --> 主选项卡 --> 浏览到为同一平台编译的 gdb