1
0
Fork 0
mirror of https://codeberg.org/Mercury-IM/Smack synced 2024-11-22 14:22:05 +01:00

Updated formatting and text.

git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2249 b35dd754-fafc-0310-a699-88a17e54d16e
This commit is contained in:
Matt Tucker 2004-03-12 14:23:12 +00:00 committed by mtucker
parent bbcc5358e9
commit 81b154428d

View file

@ -48,13 +48,12 @@ Smack uses the following logic to decide the debugger console to use:
<ol> <ol>
<li>It will first try use the debugger class specified in the Java system property <li>It will first try use the debugger class specified in the Java system property
<tt>smack.debuggerClass</tt>. This is a good place if you want to hook your own <tt>smack.debuggerClass</tt>. If you need to develop your own debugger,
debugger console. If you need to develop your own debugger all you need to do is
implement the <tt>SmackDebugger</tt> interface and then set the system property implement the <tt>SmackDebugger</tt> interface and then set the system property
on the command line such as:<p> on the command line such as:<p>
<tt>java -Dsmack.debuggerClass=my.company.com.MyDebugger SomeApp </tt><p> <tt>java -Dsmack.debuggerClass=my.company.com.MyDebugger SomeApp </tt><p>
<li>If step 1 fails then the next option is to try to use the enhanced debugger. The <li>If step 1 fails then Smack will try to use the enhanced debugger. The
file <tt>smackx-debug.jar</tt> contains the enhanced debugger. Therefore you will need file <tt>smackx-debug.jar</tt> contains the enhanced debugger. Therefore you will need
to place the jar file in the classpath. For situations where space is an issue you to place the jar file in the classpath. For situations where space is an issue you
may want to only deploy <tt>smack.jar</tt> in which case the enhanced debugger won't be may want to only deploy <tt>smack.jar</tt> 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:
<a name="enhanced">Enhanced Debugger</a> <a name="enhanced">Enhanced Debugger</a>
</p> </p>
<img src="images/enhanceddebugger.png" width="479" height="400" alt="Full Debug Window" border="0" align="right">
When debugging mode is enabled, a debug window will appear containing tabs for each new created connection. When debugging mode is enabled, a debug window will appear containing tabs for each new created connection.
The window will contain the following information: The window will contain the following information:
<img src="images/enhanceddebugger.png" width="479" height="400" alt="" border="0" align="right">
<ul> <ul>
<li>Connection tabs -- each tab shows debugging information related to the connection. <li>Connection tabs -- each tab shows debugging information related to the connection.
<li>Smack info tab -- shows information about Smack (e.g. Smack version, installed components, etc.). <li>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:
<li>Information -- shows connection state and statistics. <li>Information -- shows connection state and statistics.
</ul> </ul>
<br clear="right">
<p class="subheader"> <p class="subheader">
<a name="lite">Lite Debugger</a> <a name="lite">Lite Debugger</a>
</p> </p>
<img src="images/debugwindow.gif" width="359" height="399" alt="Lite Debug Window" border="0" align="right">
When debugging mode is enabled, a debug window will appear when each new connection is created. When debugging mode is enabled, a debug window will appear when each new connection is created.
The window will contain the following information: The window will contain the following information:
<img src="images/debugwindow.gif" width="359" height="399" alt="" border="0" align="right">
<ul> <ul>
<li>Client Traffic (red text) -- raw XML traffic generated by Smack and sent to the server. <li>Client Traffic (red text) -- raw XML traffic generated by Smack and sent to the server.
<li>Server Traffic (blue text) -- raw XML traffic sent by the server to the client. <li>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.
<br clear="all" /><br><br> <br clear="all" /><br><br>
<div class="footer"> <div class="footer">
Copyright &copy; Jive Software 2002-2003 Copyright &copy; Jive Software 2002-2004
</div> </div>
</body> </body>