Results 1 to 3 of 3

Thread: No Source Available error when debugging

  1. #1
    njsokalski is offline VB.NET Forum Fanatic
    .NET Framework
    .NET 3.5
    Join Date
    Mar 2011
    Posts
    102
    Reputation
    31

    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.
    Nathan Sokalski

  2. #2
    Herman is offline VB.NET Forum Miyagee
    .NET Framework
    .NET 4.0
    Join Date
    Oct 2011
    Location
    Montreal, QC, CA
    Posts
    448
    Reputation
    346
    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.

  3. #3
    Paszt's Avatar
    Paszt is offline VB.NET Forum Moderator
    .NET Framework
    .NET 4.0
    Join Date
    Jun 2004
    Location
    Raleigh, NC - USA
    Posts
    1,502
    Reputation
    308
    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

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Harvest time tracking