我将Visual Studio Debugger连接到运行Silverlight应用程序的IE实例,使用附加到进程对话框。
I'm attaching Visual Studio Debugger to IE instance which is running silverlight application, using Attach to Process dialog.
在可用进程列表中有脚本,为iexplore.exe列出的Silverlight和x86类型,但脚本代码被自动选择。这可以改变吗我希望Silverlight成为首选。
In the list of available processes there are Script, Silverlight and x86 types listed for iexplore.exe, but Script code gets chosen automatically. Can this be changed? I want Silverlight to be preferred.
当然,我可以点击选择按钮并选择Silverlight,但下次我需要附加到IIS并再次更改这些选项。
Of course I can click Select button and pick Silverlight, but next time I'll need to attach to IIS and change these options again..
推荐答案我做了一个宏来做到这一点。它会发现iexplore.exe进程是Silverlight,其父级是一个iexplore.exe进程,其标题与我的应用程序相匹配,然后使用silverlight进行附加。一键附件!
I made a macro to do this. It would find the iexplore.exe process that was Silverlight whose parent was an iexplore.exe process with a title that matched my application and then attach with silverlight. One-button attachment!
但是微软从Visual Studio 2012中删除了宏支持。Grrrr ...
But then Microsoft removed macro support from Visual Studio 2012. Grrrr...
我需要重写它作为扩展名。
I need to re-write it as an extension.
更多推荐
Visual Studio附加到进程
发布评论