"No Source Available" when managed exception occurs - WPF Visual Studio 2010

Posted by Sonic Soul on Stack Overflow See other posts from Stack Overflow or by Sonic Soul
Published on 2010-06-02T13:12:11Z Indexed on 2010/06/07 4:22 UTC
Read the original article Hit count: 841

Filed under:
|

for some reason, my visual studio 2010 is not loading debug symbols on my own code.

i am using a default WPF application solution. with a sample WPF app i am working on, and running in Debug mode.

when i go into debug, i can step through my code.

BUT

when exception happens in my code (i.e. throw new Exception("test")), visual studio gives me the blue blank screen with "No Source Available. No symbols are loaded blah blah.."

AND

i can actually "view" exception details, where it will tell me the line of code my exception occured on.

so it does know what happened.. it seems.

it seems to think that PDB files are not loaded.

my setup:

options > Deubg > "Enable just my code (managed only)" is checked. application properties : 1 project running in Debug x86

© Stack Overflow or respective owner

Related posts about wpf

Related posts about visual-studio-2010