Changes between Version 1 and Version 2 of DebuggingOnWindows
- Timestamp:
- Oct 22, 2011, 2:34:36 PM (13 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
DebuggingOnWindows
v1 v2 2 2 3 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" ).4 * Run '''!WinDbg''' from the Start menu (in "Debugging Tools for Windows", or if you are on 64-bit Windows then "Debugging Tools for Windows (x64)"). 5 5 * "File" menu -> "Open Executable". 6 6 * Browse to the location where you installed the game, and open pyrogenesis.exe in the binaries\system folder. … … 13 13 }}} 14 14 * "Debug" menu -> "Go". 15 * If you are on '''64-bit''' Windows: The game may not start immediately, and the !WinDbg window may say 16 {{{ 17 (690.8c8): WOW64 breakpoint - code 4000001f (first chance) 18 First chance exceptions are reported before any exception handling. 19 This exception may be expected and handled. 20 ntdll32!LdrpDoDebuggerBreak+0x2c: 21 770b0f3b cc int 3 22 0:000:x86> 23 }}} 24 In that case you should do "Debug" menu -> "Go" a second time, and then the game should start up. 25 * You may want to switch the game from fullscreen to windowed mode (press alt+enter while running it) to make it easier to see to the !WinDbg window. 15 26 * When the game has failed (frozen or brought up an error message), switch to the !WinDbg window and "Debug" -> "Break". 27 * If you are on '''64-bit''' Windows: Enter the command 28 {{{ 29 !wow64exts.sw 30 }}} 16 31 * Enter the command: 17 32 {{{ 18 33 ~* kp 19 34 }}} 35 * If it shows a "*BUSY*" prompt, wait for that to go away (might take several minutes the first time you do this). 20 36 * Copy-and-paste the output into some kind of pastebin service like [http://paste.pocoo.org/ this] and post the link to it.