HI,
I just figured out a there was a small omission in the debug documenttion of smack.
It states you can start the debug window either “lite” or “enhanced” by using the
XMPPConnection.DEBUG_ENABLED = true;
statement.
Then when instantiating your XMPPConnection, and connecting, the debug window should be shown.
This was not successful for me and after looking in the XMPPConnection source I noticed that for the
public XMPPConnection(ConnectionConfiguration config)
constructor there was no call to
config.setDebuggerEnabled(DEBUG_ENABLED);
so the trick I used is to call
Connectionconfiguration xmppConnectionConfig = new ConnectionConfig(etc …);
and then
xmppConnectionConfig.setDebuggerEnabled(true);
before calling
xmppConnection = new XMPPConnection(xmppConnectionConfig);
xmppConnection.connect();
then the debug window will successfully show.
Cheers
Alex