Debugging an application as another user in VS2008

I have an application that works fine when run as administrator. When the user starts, he has problems reading from the event log. I would like to run the code in a debugger, but not with my admin settings. Is this possible in Visual Studio 2008?

+3
source share
2 answers

In Visual Studio 2010, you can use VSCommands for debugging with different permissions: Perhaps this is the time to upgrade;)

alt text

+2
source

Right-click the Visual Studio icon and select Run as... :

alt text

There is also a runas.exe command that you can use to start Visual Studio under a different account.

+2
source

All Articles