all groups > visual studio .net debugging > september 2007 >
You're in the

visual studio .net debugging

group:

Debugging problems in VS 2005 Team Edition for Software Developers on Vista 64bit


Debugging problems in VS 2005 Team Edition for Software Developers on Vista 64bit Karl Rhodes
9/27/2007 8:46:49 AM
visual studio .net debugging: Hi all.

I recently rebuilt all the software on my PC and upgraded to Vista
Ulitmate 64bit while I was at it. Since the reinstall, everytime I try
to debug a web application, the studio environment chanes to as it
would when attached to a process, but then drops back to the edit
mode. If I want to debug my app, I then have to attach to process
everytime.

How do I set it so that when I debug, it stays attached to the
process? I can't seem to find out how this is done...

Thanks in advance...
Re: Debugging problems in VS 2005 Team Edition for Software Developers on Vista 64bit Karl Rhodes
9/28/2007 1:35:09 AM
[quoted text, click to view]

Note to self...

Vista is quite happy to launch Visual Studio to open an SLN file as
its associated program for the file type. HOWEVER, it will not run as
an administrator in this way. You need to check the "Run this program
as an administrator" setting on the Compatability tab for the
properties dialog for devenv.exe (c:\program files (x86)\Microsoft
Visual Studio 8\Common7\IDE\) to run the program as an administrator.
For some reason after I checked this option, the sln wouldn't open
when I clicked on it. I right clicked the SLN file, selected "Open
With..." and set the default app to the devenv.exe detailed above.

Now when I double click an sln file, I get prompted by UAC to get
permission for devenv.exe to continue, and when the application is up
and running and I try to debug my solution, it keeps the process and I
can debug just fine.

I hope this helps others in the same boat...
AddThis Social Bookmark Button