Visual Studio附加到进程

编程入门 行业动态 更新时间:2024-10-10 00:24:13
本文介绍了Visual Studio附加到进程 - 更改默认自动代码类型(Silverlight而不是脚本)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述

我将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附加到进程

本文发布于:2023-06-02 00:52:08,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/431021.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:进程   Visual   Studio

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!