Update 'Debugging with MagicBox'

2022-05-02 19:39:17 +00:00
parent 96d2e4582b
commit 9ee37ff072
+2 -2
@@ -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.