问题
I want to view the call stack when a stackoverflow exception is thrown. (i.e. I want to pin point what recursive call is causing the stack overflow). The call stack is cleared and all that I can see is "External Code".
Edit I followed Chris Schmich's advice (post below), now I have a call stack like below, this is just a plain console app that I'm writing, notice that the is no mention of Main() in the screen shot:

Edit2: I followed Chris Schmich's advice about view the different threads call stacks, however I still can't seem to view my console app's call stack, here's what I can see:

回答1:
The [External Code]
frame you see is because of the debugger's Just My Code feature. The debugger is hiding stack frames from you because they are not in your code. Some details about JMC can be found in this blog post.
You can disable Just My Code by doing the following:
- Debug » Options and Settings... » uncheck "Enable Just My Code (Managed only)" » click OK
You should now be able to see all of the stack frames.
For an example of JMC, when I step into a simple C# console app with JMC enabled, I see only the code in my solution...

...and with JMC disabled, I see Framework code as well...

回答2:
Check this, Loading Symbols paragraph Loading Symbols They are *.pdb files, and you need to download them from microsoft so you can be able to see external code.
来源:https://stackoverflow.com/questions/4148913/viewing-callstack-in-visual-studio-2010-when-stack-overflow-exception-thrown