How to debug a process using Visual Studio?

Posted by Ian Boyd on Stack Overflow See other posts from Stack Overflow or by Ian Boyd
Published on 2008-12-11T21:05:24Z Indexed on 2010/03/17 17:41 UTC
Read the original article Hit count: 312

Filed under:
|

If an application† crashes:

alt text

i hit "Debug" and Visual Studio is my currently registered Just-In-Time (JIT) debugger:

alt text

Visual Studio appears, but there's no way to debug anything:

alt text

  • i do not see any disassembly.
  • i do not see any symbols
  • i do not see reconstructed source code from reflection
  • i do not see any registers
  • the call stack is empty

Other JIT debugger products are able to show disassembly, but they are either command-line based (Debugging Tools for Windows), or do not support symbols (OllyDbg, Delphi). Additionally, my question is about debugging using Visual Studio, since i already have it installed, and is already my registered JIT.

How do you debug a program using Visual Studio?

Alternatively: has anyone written a graphical debugger that supports the Microsoft symbol server?

† not, necessarily, written in Visual Studio

Edit: Changes title to process rather than application, since the latter somehow implies "my application."

© Stack Overflow or respective owner

Related posts about visual-studio

Related posts about debugging