views:

76

answers:

2

From time to time I get the following error when starting the debugger in Visual Studio 2008 SP1:

The network connection to MYCOMPUTER has been lost. Debugging will be aborted.

I have several projects in the solution configured as startup projects. Some of them get started when the error occurs, some won't.

Any ideas?

Update:
- Visual Studio runs on a 64 bit machine (Win7)
- The application uses MSMQ (private queues on localhost)

A: 

Check debug properties on your startup projects, there might be remote debugging configured. (Debugging/Remote settings)

Eugene
+1  A: 

What's likely happening here is that you are using remote debugging on your application. Some error during startup is causing that error message.

Can you give us a bit more information on the applications.

  • Are you expilictly using remote debuggging?
  • Are their any resources being used on MYCOMPUTER via some remote operation?
  • Are you runnig projects off of a share?

You may be implicitly using remote debugging if you are debugging a 64 bit appliction. Visual Studio runs as a 32 bit process and uses remote debugging under the hood to debug 64 bit applications.

JaredPar