Trac is being migrated to new services! Issues can be found in our new
YouTrack instance and WIKI pages can be found on our
website.
- Timestamp:
-
Jun 7, 2012, 12:14:58 PM (12 years ago)
- Author:
-
michaelz
- Comment:
-
--
Legend:
- Unmodified
- Added
- Removed
- Modified
-
v1
|
v1
|
|
| 1 | = debugging native code in Android. = |
| 2 | |
| 3 | * (skip for Testclient) Set android:debuggable="true" in your application definition in the AndroidManifest.xml. |
| 4 | * Open the debug configuration dialog. |
| 5 | * Create a new Debug configuration by double-clicking on ''C/C++ Attach to Application'' |
| 6 | * This needs to be done in the main tab: |
| 7 | * Enter im.pidgin.libpurple as Project name |
| 8 | * Enter Android/libim.pidgin.libpurple.so as C/C++ Application name (or just click on Search project... to find it) |
| 9 | * Go to the debugger tab. |
| 10 | * Select gdbserver as Debugger. |
| 11 | * Enter ${ndk.root}/bin/arm-linux-androideabi-gdb in the GDB debugger filed. |
| 12 | * As command file, select the gdb.setup file in the native directory. |
| 13 | * In the connection tab, enter TCP as connection type, localhost as target and 5039 as port. |
| 14 | * Close the dialog by hitting Apply and Close. |
All information, including names and email addresses, entered onto this website or sent to mailing lists affiliated with this website will be public. Do not post confidential information, especially passwords!