From 81b154428d515a438b362c1fc3e15b99b2c91456 Mon Sep 17 00:00:00 2001 From: Matt Tucker Date: Fri, 12 Mar 2004 14:23:12 +0000 Subject: [PATCH] Updated formatting and text. git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2249 b35dd754-fafc-0310-a699-88a17e54d16e --- documentation/debugging.html | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/documentation/debugging.html b/documentation/debugging.html index b96a83602..03aab3cec 100644 --- a/documentation/debugging.html +++ b/documentation/debugging.html @@ -48,13 +48,12 @@ Smack uses the following logic to decide the debugger console to use:
  1. It will first try use the debugger class specified in the Java system property - smack.debuggerClass. This is a good place if you want to hook your own - debugger console. If you need to develop your own debugger all you need to do is + smack.debuggerClass. If you need to develop your own debugger, implement the SmackDebugger interface and then set the system property on the command line such as:

    java -Dsmack.debuggerClass=my.company.com.MyDebugger SomeApp

    -

  2. If step 1 fails then the next option is to try to use the enhanced debugger. The +
  3. If step 1 fails then Smack will try to use the enhanced debugger. The file smackx-debug.jar contains the enhanced debugger. Therefore you will need to place the jar file in the classpath. For situations where space is an issue you may want to only deploy smack.jar in which case the enhanced debugger won't be @@ -68,11 +67,11 @@ Smack uses the following logic to decide the debugger console to use: Enhanced Debugger

    +Full Debug Window + When debugging mode is enabled, a debug window will appear containing tabs for each new created connection. The window will contain the following information: - -
    • Connection tabs -- each tab shows debugging information related to the connection.
    • Smack info tab -- shows information about Smack (e.g. Smack version, installed components, etc.). @@ -87,16 +86,17 @@ The connection tab will contain the following information:
    • Information -- shows connection state and statistics.
    +
    +

    Lite Debugger

    +Lite Debug Window + 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. @@ -109,7 +109,7 @@ to the system clipboard or to clear the contents of the pane.