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
WHY WE USE JAVA IN PROGRAMMING INSTEAD OF OTHER PROGRAMMING LANGUAGE


What is hash Map

Implement relationship using a java program. Assume each course has a course title, code, subject and number of credits while each student has a name, registration number, list of

Develop a GeoNetwork Template Project Description: Want a personalized GeoNetwork Template with the consideration of the logo included to this proposal and its colors. The ba

Why do we call JavaScript an Object-based Language? In java language an JavaScript shares several similarities with object-oriented languages, and thus is known as an object-ba

Calculate the kilometer within an hour? class Car { String licensePlate = ""; // e.g. "New York 543 A23" double speed = 0.0; // in kilometers per hour doubl

What interface must an object implement before it can be written to a stream as an object?      Ans) An object must execute the Serializable or Externalizable interface before i

YES. JSP technology is extensible by the development of custom actions, or tags, which are encapsulated in tag libraries. #question..

Explain the Coordinate System? Java uses the standard, two-dimensional, computer graphics coordinate system. The first visible pixel in the upper left-hand corner of the applet