在Visual Studio中的Silverlight调试停止工作,打开一个新的窗口时窗口、工作、Visual、Studio

由网友(ぃ颠覆℡)分享简介:我有承载Silverlight应用程序的aspx页面。I have an aspx page that hosts a silverlight application.调试工作正常,并在Silverlight应用程序的断点,当我去的网页直接,但是当我在页面推出一个新的窗口,其托管ASP.NET应用程序中的断点处停止...

我有承载Silverlight应用程序的aspx页面。

I have an aspx page that hosts a silverlight application.

调试工作正常,并在Silverlight应用程序的断点,当我去的网页直接,但是当我在页面推出一个新的窗口,其托管ASP.NET应用程序中的断点处停止得到击中被击中。

Debugging works fine and breakpoints in the silverlight app are hit when I go to the page directly but when I have the page launch in a new window from its hosting ASP.NET application the breakpoints stop getting hit.

任何想法?

推荐答案

您正在使用IE8会启动多个进程承载的网页。正在发生的事情是,在新窗口中有一个不同的IEXPLORE进程比一的Visual Studio托管的网页正在连接到。

You are using IE8 which launches multiple processes to host web pages. What is happening is that the new window has its page hosted by a different iexplore process than the one Visual studio is currently attached to.

只需打开附加到进程...对话框,并附加到其他IEXPLORE进程不是当前的连接。

Simply open the "Attach to process..." dialog and attach to other iexplore processes that aren't current attached.

另外,如果这仍然是一个问题,调试的目的,您可以禁用使用注册表calue改变这个IE的行为。在关键的:

Alternatively if this is still a problem, for debug purposes you can disable this IE behaviour using a registry calue change. In the key:

HKEY_CURRENT_USER 软件微软的Internet Explorer 主要

HKEY_CURRENT_USERSoftwareMicrosoftInternet ExplorerMain

修改 TabProcGrowth 0值还原小的默认大功告成调试后。

Modify the value of TabProcGrowth to 0. Restore the default of "small" after you're done debugging.

阅读全文

相关推荐

最新文章