Changes between Version 1 and Version 2 of DebuggingOnWindows


Ignore:
Timestamp:
Oct 22, 2011, 2:34:36 PM (13 years ago)
Author:
Philip Taylor
Comment:

fix instructions for 64-bit Windows

Legend:

Unmodified
Added
Removed
Modified
  • DebuggingOnWindows

    v1 v2  
    22
    33 * 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)").
    55 * "File" menu -> "Open Executable".
    66 * Browse to the location where you installed the game, and open pyrogenesis.exe in the binaries\system folder.
     
    1313}}}
    1414 * "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)
     18First chance exceptions are reported before any exception handling.
     19This exception may be expected and handled.
     20ntdll32!LdrpDoDebuggerBreak+0x2c:
     21770b0f3b cc              int     3
     220: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.
    1526 * 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}}}
    1631 * Enter the command:
    1732{{{
    1833~* kp
    1934}}}
     35 * If it shows a "*BUSY*" prompt, wait for that to go away (might take several minutes the first time you do this).
    2036 * Copy-and-paste the output into some kind of pastebin service like [http://paste.pocoo.org/ this] and post the link to it.