How To Debug Smack API (Java XMPP Library)

By Angsuman Chakraborty, Gaea News Network
Sunday, August 17, 2008

Smack is an excellent Java XMPP Library. While creating a pubsub broker in XMPP I faced a strange issue where few messages were missing. I then found a simple way to debug the Smack library. Just start your JVM (java) with the following option:
java -Dsmack.debugEnabled=true Class.Name

It opens up four tabs. The first tab (All) contains three panes - Sent, Received & Interpreted. The other tabs allow you to view one pane only (either of the three mentioned above).

Discussion

Ben
March 13, 2009: 8:50 pm

Hey, I am running into the same problem. How did you solve this?

-ben

YOUR VIEW POINT
NAME : (REQUIRED)
MAIL : (REQUIRED)
will not be displayed
WEBSITE : (OPTIONAL)
YOUR
COMMENT :