[Pidgin] GSoC2012/Android/debugging added

Pidgin trac at pidgin.im
Thu Jun 7 08:15:00 EDT 2012


Added page "GSoC2012/Android/debugging" by michaelz from 88.66.57.212*
Page URL: <http://developer.pidgin.im/wiki/GSoC2012/Android/debugging>
Content:
-------8<------8<------8<------8<------8<------8<------8<------8<--------
= debugging native code in Android. =

  * (skip for Testclient) Set android:debuggable="true" in your application definition in the AndroidManifest.xml.
  * Open the debug configuration dialog.
  * Create a new Debug configuration by double-clicking on ''C/C++ Attach to Application''
  * This needs to be done in the main tab:
    * Enter im.pidgin.libpurple as Project name
    * Enter Android/libim.pidgin.libpurple.so as C/C++ Application name (or just click on Search project... to find it)
  * Go to the debugger tab.
    * Select gdbserver as Debugger.
    * Enter ${ndk.root}/bin/arm-linux-androideabi-gdb in the GDB debugger filed.
    * As command file, select the gdb.setup file in the native directory.
    * In the connection tab, enter TCP as connection type, localhost as target and 5039 as port.
  * Close the dialog by hitting Apply and Close.

-------8<------8<------8<------8<------8<------8<------8<------8<--------

* The IP shown here might not mean anything if the user or the server is
behind a proxy.

--
Pidgin <http://pidgin.im>
Pidgin

This is an automated message. Someone at http://pidgin.im added your email
address to be notified of changes on GSoC2012/Android/debugging. If it was not you, please
report to .


More information about the Wikiedit mailing list