Click to Rate and Give Feedback
MSDN
MSDN Library
Development Guides
 Debugging WOW64
Debugging WOW64

Applications running under WOW64 can be debugged two ways:

  • Use an x86-hosted debugger, like NTSD, WinDbg, or Visual Studio. The 32-bit NTSD is installed to %systemroot%\syswow64 on retail installs. Note that x86 debuggers can be used to debug x86 code, but cannot disassemble or set breakpoints within the WOW64 thunk layer because it is 64-bit native code.
  • Use a native debugger, like NTSD or WinDbg, and the WOW64 debugger extensions. The extensions (Wow64exts.dll and W64cpuex.dll) are installed with the operating system. If the native debugger breaks while the processor is in x86 mode, the debugger presents the process as an x86 process. If the processor is in native mode, the debugger presents the process as native. The !wow64exts.sw command switches the debugger between the two modes.

Send comments about this topic to Microsoft

Build date: 11/1/2007

Tags What's this?: Add a tag
Community Content   What is Community Content?
Add new content RSS  Annotations
Processing
© 2008 Microsoft Corporation. All rights reserved. Terms of Use  |  Trademarks  |  Privacy Statement
Page view tracker