|
-
Mar 3rd, 2005, 10:35 AM
#1
Thread Starter
Fanatic Member
[RESOLVED] Debug as different user
Hey there,
i hope someone can answer this question but how can you debug a program as a different user. since i am an admin i'd like to be able debug my application as a normal domain user
Barry
Visual Studio .NET 2008/Visual Studio .NET 2005/Visual Studio .NET 2003
.NET Framework 3.0 2.0 1.1/ASP.Net 3.0 2.0 1.1/Compact Framework 1.0
SQL Server 2005/2000/SQL Server CE 2.0
If you like, rate this post
Compact Framework for Beginners
-
Mar 3rd, 2005, 11:33 AM
#2
Re: Debug as different user
log in as that user and run the app in debug mode
-
Mar 4th, 2005, 05:41 AM
#3
Thread Starter
Fanatic Member
Re: Debug as different user
i wont be able to do that as the user does not have privileges of an administrator or debugger user.
Barry
Visual Studio .NET 2008/Visual Studio .NET 2005/Visual Studio .NET 2003
.NET Framework 3.0 2.0 1.1/ASP.Net 3.0 2.0 1.1/Compact Framework 1.0
SQL Server 2005/2000/SQL Server CE 2.0
If you like, rate this post
Compact Framework for Beginners
-
Mar 4th, 2005, 06:00 AM
#4
Re: Debug as different user
Why not create a user called Test that does have debug group privelidges but is the same as a normal user in every other respect.
I don't live here any more.
-
Mar 4th, 2005, 06:11 AM
#5
Thread Starter
Fanatic Member
Re: Debug as different user
I was trying to do that, i created a user with debug priveleges etc, but then there were errors when the user was opening the project as they werent a member of source safe.
it takes a lot of messing
Barry
Visual Studio .NET 2008/Visual Studio .NET 2005/Visual Studio .NET 2003
.NET Framework 3.0 2.0 1.1/ASP.Net 3.0 2.0 1.1/Compact Framework 1.0
SQL Server 2005/2000/SQL Server CE 2.0
If you like, rate this post
Compact Framework for Beginners
-
Mar 4th, 2005, 06:08 PM
#6
Re: Debug as different user
Create your executable, then using "Run As" execute it under the normal user's credentials. Once it starts, open an instance of VS and attach the debugger to it.
Good enough ?
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|