mirror of
https://github.com/vanitasvitae/Smack.git
synced 2024-11-25 21:42:07 +01:00
Update debugging.md
The lite debugger is also only found in smack-debug. Only the console debugger is shipped with smack-core.
This commit is contained in:
parent
888de7e1c1
commit
8d7b329432
1 changed files with 5 additions and 5 deletions
|
@ -3,9 +3,9 @@ Debugging with Smack
|
|||
|
||||
[Back](index.html)
|
||||
|
||||
Smack includes two built-in debugging consoles that will let you track all XML
|
||||
traffic between the client and server. A lite debugger which is part of the
|
||||
`smack-core.jar` and an enhanced debugger contained in `smack-debug.jar`.
|
||||
Smack includes two built-in debugging consoles that will let you track
|
||||
all XML traffic between the client and server. A lite debugger and an
|
||||
enhanced debugger contained in `smack-debug.jar`, and a console debugger in `smack-core.jar`.
|
||||
|
||||
Debugging mode can be enabled in two different ways:
|
||||
|
||||
|
@ -29,9 +29,9 @@ Smack uses the following logic to decide the debugger console to use:
|
|||
|
||||
`java -Dsmack.debuggerClass=my.company.com.MyDebugger SomeApp `
|
||||
|
||||
2. 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-core.jar` in which case the enhanced debugger won't be available.
|
||||
2. 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-core.jar` in which case the enhanced and lite debugger won't be available, but only the console debugger.
|
||||
|
||||
3. The last option if the previous two steps fail is to use the lite debugger. The lite debugger is a very good option for situations where you need to have low memory footprint.
|
||||
3. The last option if the previous two steps fail is to use the console debugger. The console debugger is a very good option for situations where you need to have low memory footprint.
|
||||
|
||||
Enhanced Debugger
|
||||
-----------------
|
||||
|
|
Loading…
Reference in a new issue