From Marvin's Arena
This tutorial will teach you how to use Visual Studio for debugging your robot.
Open your robots solution.
You need to create a startup project for the 2D or 3D Battle Engine.
- Right-click on the Solution
- Add -> Existing Project ...
- Select the BattleEngine exe file
To start the robot the project properties needs to get changed.
- Right-click on the newly added project
- Select properties
- Modify Command Arguments to: YourRobotsName.dll -notimeout -debug
- Set the working directory to the BattleEngine exe path
- OK
- Right-click on the project again
- Set as StartUp Project
Now you can run the plugin and Visual Studio will halt on all breakpoints you defined in the plugin.