Update 'Debugging with MagicBox'
@@ -13,9 +13,12 @@ Build the branch you wish to debug.
|
|||||||
|
|
||||||
`./mbbuild.sh <branch-name>`
|
`./mbbuild.sh <branch-name>`
|
||||||
|
|
||||||
Startup the game in debug mode.
|
Startup either the entire game or just the LoginServer in debug mode.
|
||||||
|
|
||||||
|
1. Debug the full game
|
||||||
`./mbstart.sh -debug`
|
`./mbstart.sh -debug`
|
||||||
|
2. Debug only the LoginServer
|
||||||
|
`./mbloginstart.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.
|
||||||
|
|
||||||
@@ -33,7 +36,7 @@ Give the configuration a name. Set the IP address to your public IP and the por
|
|||||||
|
|
||||||

|

|
||||||
|
|
||||||
Use this new configuration to connect your IDE to MagicBox.
|
Use this new configuration to connect your IDE to MagicBox. The game will begin to bootstrap.
|
||||||
|
|
||||||

|

|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user