Android NDK 调试 [英] Android NDK Debugging

查看:22
本文介绍了Android NDK 调试的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Android NDK 文档对我来说似乎并不十分清楚您运行哪些命令序列以将调试信息输入和输出所提供的 ndk-gdb 可执行文件.如果有哪些行要中断的格式,以及在什么文件中,是否有规范?如果是这样,那么,您如何向调试器提供该信息,以及通过什么方式?我对这个过程的运作方式一无所知.

The Android NDK documentation doesn't seem all that clear to me as to what sequence of commands you run to get debugging information into, and out of the ndk-gdb executable which is provided. If there is a format for what lines to break on, and in what file, is there a specification somewhere? If so, also, how do you give this debugger that information, and through what means? I'm clueless in every way as to how this process works.

谢谢

推荐答案

具体解决某处是否有规范":

Specifically addressing "is there a specification somewhere":

ndk-gdb 基本上是与 NDK 应用程序对话的传统 GDB,GDB 文档位于 http://www.gnu.org/software/gdb/documentation/ 是命令语法的最佳参考——这个话题太大了,无法在这里讨论.

ndk-gdb is basically traditional GDB that talks to NDK applications, the GDB documentation at http://www.gnu.org/software/gdb/documentation/ is the best reference for command syntax - it's far too big a topic to cover here.

这篇关于Android NDK 调试的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆