在VS2008中调试应用程序作为其他用户 [英] Debug application as a different user in VS2008

查看:131
本文介绍了在VS2008中调试应用程序作为其他用户的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

使用管理员权限运行时,我有一个应用程序正常工作。当用户运行时,从事件日志中读取有问题。我想在调试器中运行代码,但不是使用我的管理员设置。在Visual Studio 2008中可以这样做?

解决方案

在Visual Studio 2010中,您可以使用 VSCommands 以不同的权限进行调试:
也许是时候升级了)




I have an application that works fine when run with administrator privileges. When run by a user it has problems reading from the Event Log. I would like to run the code in the debugger but not with my administrator settings. Is this possible in Visual Studio 2008 ?

解决方案

In Visual Studio 2010 you can use VSCommands to debug with different permissions: Maybe it's time to upgrade ;)

这篇关于在VS2008中调试应用程序作为其他用户的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆