Update 'Debugging with MagicBox'

master
MagicBot 3 years ago
parent
commit
9ee37ff072
  1. 4
      Debugging-with-MagicBox.md

4
Debugging-with-MagicBox.md

@ -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.

Loading…
Cancel
Save