Contents

  1. Debugging Game Code

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

  1. Right click the Game project in the Solution Explorer and select Properties.

  2. 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:

  3. 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)

Debugging (last edited 2005-12-05 20:57:54 by DavidDynerman)