Alex Rivera | Logout

Can't start debugger in VS2012 RC

Asked 2012-06-24T16:15:49.817
20

Configuration:

  • Windows 7, 64 bit
  • Microsoft Visual Studio Professional 2012 RC Version 11.0.50522.1 RCREL
  • Running VS in administrator mode
  • The VS solution contains a web application, with target: .NET Framework 4.

When I press F5, the solution builds... and nothing else happens.

  • Happens with both IIS or the VS Dev Server.
  • Happens with Platform Target of "Any CPU" or "x86"

If instead, I use the Debug / Attach to Process... menu, after a few seconds, I get:

  • "Debugger is Busy" - Debugger is performing a remote operation that is taking longer than expected. This dialog stay until I click "Terminate" and confirm it.
  • Then this dialog appears: "Microsoft Visual Studio" "Unable to connect to the Microsoft Visual Studio Remote Debugging Monitor named [COMPUTER NAME]. The network connection to the Visual Studio Remote Debugger has been closed."
  • After clicking OK, the 'normal' "Attach to Process" window finally shows up. In it, the list of "Available Processes" is empty.

Any suggestions or clues?

The main points that I wonder about:

  • Why is the list of processes empty? It is not surprising that the debugger does not work if it cannot see any processes.
  • Why is it trying to do "remote" debugging, when it is just accessing the local computer?

(Cross posted on social.msdn)

Edit
Report

1 Answer

0

On another computer, with the RTM of Visual Studio 2012, I opened an older project and found that I could not press F5 to start the application. All that seemed to happen was a message in the status bar on the bottom edge of the window: "This item does not support previewing".

This solution had two projects, and the correct one was bold in the Solution Explorer, presumably indicating that it was the startup project.

However, after selecting the project and choosing "Set as Startup Project" in the context menu, I was then able to use F5 to run and debug it.

It turns out that the "This item does not support previewing" was nothing to do with the problem, but is a message that shows on the status bar whenever the item just selected in the Solution Explorer does does not support previewing.

answered 2012-08-18T00:45:29.770

Your Answer