Update 'Debugging with MagicBox'
@@ -13,12 +13,12 @@ Build the branch you wish to debug.
|
|||||||
|
|
||||||
`./mbbuild.sh <branch-name>`
|
`./mbbuild.sh <branch-name>`
|
||||||
|
|
||||||
Startup either the entire game or just the LoginServer in debug mode.
|
We wish for to debug the WorldServer in this demonstration; choose option 1.
|
||||||
|
|
||||||
1. Debug the full game
|
1. Debug the full game
|
||||||
`./mbstart.sh -debug`
|
`./mbstart.sh -debug`
|
||||||
2. Debug only the LoginServer
|
2. Debug only the LoginServer
|
||||||
`./mbloginstart.sh -debug`
|
`./mblogin_start.sh -debug`
|
||||||
|
|
||||||
The game is now listening on port 5000 for the IDE. We will open up WorldServer.java and click to the left of a line to set a breakpoint.
|
The game is now listening on port 5000 for the IDE. We will open up WorldServer.java and click to the left of a line to set a breakpoint.
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user