androideclipsexmppsmackasmack

Debug XMPP Android client with aSmack, Eclipse and the enhanced debugger.


I'm making an application with the Android XMPP library aSmack with Eclipse. I can not get debug is launched in a separate window as instructed smack documentation:

http://www.igniterealtime.org/builds/smack/docs/latest/documentation/debugging.html

I imported smackx-debug.jar inside the libs folder and I've added this line to the code:

Connection.DEBUG_ENABLED = false;

The debug occurs, but in console of logcat, not a Enhanced Debugger.


Solution

  • aSmack is not able to use the enhanced debugger of smack. It's not possible that the Android app draws a new window on your PC running eclipse.

    Instead all XMPP traffic is logged to the Android log and can be viewed with DDMS or adb shell logcat.