Pages
VTOL VR
Breakpoints in dnSpy
[!NOTE] Ensure that the Mod Loader installed is version 5.4.0 or higher.
With dnSpy, you can set breakpoints in the game code and mod code of VTOL VR. To enable this functionality, you need to modify Doorstop's configuration file (doorstop_config.ini
) to activate the Mono debugger server.
How to connect
- Navigate to the root folder of your game and locate the Doorstop configuration file (
doorstop_config.ini
). - Open the configuration file and locate line 30.
- Change the value of
debug_enabled
totrue
. - Launch VTOL VR
- Open dnSpy
- Open the dlls you wish to add breakpoints to
File > Open...
- Start Debugging
Debug > Start Debugging...
- Select
Unity (Connect)
on the dropdown next toDebug engine
- Set the IP Address to
127.0.0.1
- Set the port to
10000
- Press
Ok
Verifying it connected
Now that you've completed the steps to connect dnSpy to VTOL VR through the Mono debugger server, you can verify that it's working correctly.
Check for a solid red circle on your breakpoints - this indicates that the debugger is successfully attached and you can start setting breakpoints in both the game code and your mod code.