Debugging Game Code
If you're working with the game code, you can quickly setup Visual Studio to debug your code as a regular application. There are several ways to do this, here's one of them.
The following assumes you've installed Quake 4 to C:\Quake4, and the SDK to C:\Quake4_SDK
Right click the Game project in the Solution Explorer and select Properties.
Setup a post-build step to copy your gamex86.dll to your Quake 4 root directory; you can use the commandline xcopy $(TargetPath) c:\quake4:
- Re-build your game DLL to make sure the post-build step is performed, and you should be all set hit F5 and start debugging (default settings)