Smack Enhanced Debugger

If you wish to use the Smack Enhanced Debugger, make sure you enable the debugger in ConnectionConfiguration, and add smackx-debug-*.jar to your classpath. Here’s the code snippet for ConnectionConfiguration:

ConnectionConfiguration config = new ConnectionConfiguration(host, port);

And here’s the Maven dependency:


1 Comment

  1. Akhil says:

    What if I want to remove the smack debug window.
    If I set config.setDebuggerEnabled(false); then, the whole program exits. I need the program as if it runs with a debug window but without displaying the debug window.

Leave a Reply

Your email address will not be published. Required fields are marked *