How to debug external code after an exception in .NET (vs2008)

I have an exception in my application. In the callstack I see the program stops in the getter property: FullName.get ()

I am trying to figure out which part of the code is throwing the exception.
But in the call stack I only see 3 entries:

3) FullName.get ()
2) [External Code]
1) myApplication.exe

Is there a way to debug external code somehow?

+2


source to share


2 answers


http://blogs.msdn.com/sburke/archive/2008/01/16/configuring-visual-studio-to-debug-net-framework-source-code.aspx



This blog post shows you how to show the framework code in the debugger.

+5


source


Usually external code is either .Net framework or unmanaged code. If I really need to view it, I use the SOS and WinDBG extension, but its quite tedious.



In your case, I'm sure you can find the source of your exception more easily, someone can help you if you provide more details, for example. paste in the code that doesn't work.

0


source







All Articles