views:

60

answers:

3

How to stop visual studio debugger from stepping into assembly?

A: 

Do you have access to the source?

DebuggerStepThroughAttribute

Nescio
+2  A: 

Uncheck Tools->Options->Debugging->Enable address-level debugging->Show disassembly if source not available

Michael Petrotta
+2  A: 

I tend not to worry about it since my tools (and I'm assuming VS debugger is suitably well equipped) have:

  • step into,
  • step over, and
  • step out of.

If I find myself in some assembly (or even C) that I don't want to look at (rare since I mostly do step over unless I know the problem's further down the hierarchy), I just do the step out of.

But sometimes, you have no choice if the error is further down the hierarchy.

Well, it turns out VS2008 is well-equipped:

Step Over is F10
Step Into is F11
Step Out is Shift + F11
paxdiablo