No Source Available error when debugging
While debugging a Windows Phone 7 app I am working on, I receive the following message:
No Source Available
There is no source code available for the current location.
This message is displayed in a tab in Visual Studio 2010. The message is only displayed when I have breakpoints, I do not currently get any errors without any breakpoints, so the code (supposedly) works fine (but thats why I'm still testing, of course). Why am I receiving this message, and how can I avoid it? Thanks.
It's not really an error, it just means that the breakpoint landed somewhere in the CLR, or in unmanaged code, for which you cannot see the source. You can usually use "Step Into" to get the next statement in "visible" code.
You can also download the source code which will enable you to see the code while debugging. I haven't done this myself; more information can be found here: Microsoft Reference Source Server
— Stephen Paszt
Tags for this Thread