Debugging, JAVA Programming

Debugging mode can be enabled by adding the following line of code before creating new connections:

XMPPConnection.DEBUG_ENABLED = true;

When debugging mode is enabled, a debug window will appear when each new connection is created. The window will contain the following information:

  • Client Traffic (red text) -- raw XML traffic generated by Smack and sent to the server.
  • Server Traffic (blue text) -- raw XML traffic sent by the server to the client.
  • Interpreted Packets (green text) -- shows XML packets from the server as parsed by Smack.

2261_debugging.png

Posted Date: 3/4/2013 7:46:03 AM | Location : United States







Related Discussions:- Debugging, Assignment Help, Ask Question on Debugging, Get Answer, Expert's Help, Debugging Discussions

Write discussion on Debugging
Your posts are moderated
Related Questions
ActionServlet performs the role of Controller: ? Process user requests ? Verify what the user is trying to achieve according to the request ? Pull data from the model (if


Very frequently when you write code, you desire to perform distinct actions for different decisions. You can employ conditional statements in your code to do this. In JavaScript

Java expert with tomcat tuning experience needed Project Description: Want a Java expert to fix memory issues with tomcat. I need School java project - Threads Programm

Having one instance overall the application.eg.: Loggers

Project Description: We need same kind of concept with some changes # Change single colors in a particular design. you need to be able to change the color of only the fox or

how to write java programe and example programe

Project Description: Develop an android service app that will run on the background. The app has to get the users location (longitude and latitude) every 5 minutes or when th

A framework is made up of the set of classes which permit us to use a library in a best possible way for a particular requirement.

Difference between Hash Map and Hash Table? The HashMap class is roughly equivalent to Hashtable, except that it is unsynchronized and allows nulls. (HashMap allows null values