Question No Source Available error when debugging

njsokalski

Well-known member
Joined
Mar 16, 2011
Messages
102
Programming Experience
5-10
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.
 

Latest posts

Back
Top