Visual Studio 2013 won't hit the breakpoint - "Source unavailable"

Even with a simple console app, I cannot debug. I get a new tab called " Source is not available " showing " Code not working " and " The current current current code is not working or the call stack may not be received. "

using System;

namespace ConsoleApplication1
{
    class Program
    {
        static void Main(string[] args)
        {
            Console.WriteLine("Bob"); //break point here
        }
    }
}

      

I get the same results if I try the WinForms application.

I am running:

Microsoft Visual Studio Express 2013 for Windows Desktop Version 12.0.30723.00 Update 3 Microsoft .NET Framework Version 4.5.51641

on Windows 8.1 x64.

I tried:

  • Clean up and restore.
  • Reset all parameters.
  • Repair VS installation.
  • Uninstall / reinstall VS.

Out of work the old machine works fine 7.

Add: Debug / Windows / Themes:

Not Flagged     0   0   Unknown Thread  [Thread Destroyed]      
Not Flagged     5864    0   Worker Thread   <No Name>       Normal
Not Flagged     3736    3   Worker Thread   <No Name>       Normal
Not Flagged     3552    7   Worker Thread   vshost.RunParkingWindow     Normal
Not Flagged     5508    0   Worker Thread   <No Name>       Normal
Not Flagged     2448    8   Worker Thread   .NET SystemEvents       Normal
Not Flagged >   3612    9   Main Thread Main Thread     Normal

      

I found an issue today on connect.microsoft.com reporting the same issue / symptoms, but it got closed without permission when the OP didn't reply.

+3


source to share





All Articles