如何在eclipse中调试NDK,我想使用Sequoyah来调试我的原生vode,但有一些问题?

发布于 2024-12-02 02:49:52 字数 731 浏览 0 评论 0 原文

调试本机代码的分步指南,作者:Carlos Souto 该网站是

http://www.eclipse.org/sequoyah/documentation/native_debug.php< /a>

我的问题

有几个似乎不存在但需要的文件(我 猜测)。
唯一的障碍是配置中的第 5 步 05) 在“主要”选项卡上: Field C/C++ 应用程序: $PROJECT_PATH/obj/local/armeabi/app_process

该路径中没有 app_process 文件。我在armeabi目录中拥有的所有内容 是:

libskychart.so // the shared library I'm building with the jni code.

app_process 文件应该来自哪里(或者我是否替换 “ap_process”的共享库)?

另一个障碍是第 8 步: 08) GDB命令文件:$PROJECT_PATH/obj/local/armeabi/gdb2.setup

和之前一样,这里没有gdb2.setup文件。这是从哪里来的?

请帮我一个忙,我怎样才能获得以上两个文件?

A step-by-step guide for debugging native code, by Carlos Souto
the website is

http://www.eclipse.org/sequoyah/documentation/native_debug.php

My question

There are a couple of files that don't seem to be present that are needed (I
guess).
the one snag is in step 5 within Configurations
05) On the "Main" tab:
the Field C/C++ Application: $PROJECT_PATH/obj/local/armeabi/app_process

There is no app_process file at that path. All I have in the armeabi directory
is:

libskychart.so // the shared library I'm building with the jni code.

Where is the app_process file supposed to come from (or do I substitute the
shared lib for "ap_process")?

The other snag is in step 8:
08) GDB command file: $PROJECT_PATH/obj/local/armeabi/gdb2.setup

as before, there is no gdb2.setup file here. Where does that come from?

please do me a favour how can i get above two files?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

咆哮 2024-12-09 02:49:52

app_process 和 gdb.setup 文件已为您创建(请参阅下面的链接)。我最近才第一次经历了这一切,并在 Sequoyah 上失败了,但这里给出的(类似)方法对我有用:

第 1 部分:http://mhandroid.wordpress.com/2011/01/23/using-eclipse-for-android-cc-development/

第 2 部分(用于调试): http://mhandroid.wordpress.com/2011/01/23/using-eclipse-for-android-cc-debugging/

The app_process and gdb.setup files are created for you (see the links below). I only recently went through all this for the first time and failed with Sequoyah, but the (similar) approach given here worked for me:

Part 1: http://mhandroid.wordpress.com/2011/01/23/using-eclipse-for-android-cc-development/

Part 2 (for debugging): http://mhandroid.wordpress.com/2011/01/23/using-eclipse-for-android-cc-debugging/

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文