Changes between Initial Version and Version 1 of DebuggingOnWindows


Ignore:
Timestamp:
Aug 25, 2010, 1:27:22 PM (14 years ago)
Author:
Philip Taylor
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • DebuggingOnWindows

    v1 v1  
     1If the game crashes or freezes when running on Windows, you can help us to debug the problem. If you have Visual C++ installed then you can use its debugger. Otherwise you should try these instructions to run the free WinDbg tool:
     2
     3 * Install the [http://www.microsoft.com/whdc/devtools/debugging/installx86.mspx Debugging Tools for Windows]. (In the Windows SDK installer, you can disable everything except the first "Debugging Tools for Windows" option.)
     4 * Run '''!WinDbg''' from the Start menu (in "Debugging Tools for Windows").
     5 * "File" menu -> "Open Executable".
     6 * Browse to the location where you installed the game, and open pyrogenesis.exe in the binaries\system folder.
     7 * If you want to debug the Atlas editor, put "-editor" in the "Arguments" box before clicking "Open".
     8 * If it asks to "Save information for workspace", say yes.
     9 * Enter the following commands: (the last step may take several minutes the first time you do this - wait until the "*BUSY*" prompt goes away)
     10{{{
     11.symfix
     12.reload /f
     13}}}
     14 * "Debug" menu -> "Go".
     15 * When the game has failed (frozen or brought up an error message), switch to the !WinDbg window and "Debug" -> "Break".
     16 * Enter the command:
     17{{{
     18~* kp
     19}}}
     20 * Copy-and-paste the output into some kind of pastebin service like [http://paste.pocoo.org/ this] and post the link to it.