无法从特权运行的 Visual Studio 2010 拖放到调试的应用程序运行 [英] Cannot drag and drop to debugged-application run from a privileged-run Visual Studio 2010

查看:22
本文介绍了无法从特权运行的 Visual Studio 2010 拖放到调试的应用程序运行的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在调试我的应用程序,它在 Visual Studio 2010 中具有拖放功能.我必须以特权模式运行 IDE,因为我的某些项目需要这样做.

I'm debugging my application which has drag-n-drop features in Visual Studio 2010. I have to run the IDE in privileged mode since some of my project required so.

我的问题:

正常运行 .exe 文件时可以拖放(从 Windows 资源管理器 (WE) 运行),但在 VS2010 中调试时,我无法在我的应用和 WE 之间进行拖放.

I can drag-drop when run the .exe file normally (run from Windows Explorer (WE)) but when debugging in VS2010 I cannot do drag-dropping between my app and WE.

我尝试在特权模式下打开 WE,但仍然无法调试.

I tried to open WE in privileged mode but still cannot debug either.

你有同样的问题吗?如果你这样做了,你有什么解决方法吗?请分享.

Do you have the same problem? If you do, do you have any work-around for it? Please share.

推荐答案

另一种解决方法是从 Windows 资源管理器运行调试二进制文件,并通过工具"或调试"菜单从 Visual Studio 中附加到进程.我已经验证在使用这种方法时在调试器中接收到拖动事件.

Another workaround is to run the debug binary from Windows Explorer and attach to the process from within Visual Studio via the "Tools" or "Debug" menu. I have verified that drag events are received in the debugger when using this approach.

这篇关于无法从特权运行的 Visual Studio 2010 拖放到调试的应用程序运行的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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