使用键盘的时候调试的Silverlight在Visual Studio 2010中冻结键盘、时候、Silverlight、Studio

2023-09-08 00:52:16 作者:︶人生如流水

首先,我想阻止的等一分钟的问题。

First I'd like to head off the "wait a minute" questions.

是的,我读过的每个线程有类似的标题和主题的SO和超越。 是的,我使用的是SP1和可能与此问题相关的任何可能的修补程序的最新版本。

所以,具有特异性,这里是我的问题:

So, with specificity, here is my problem:

当我调试Silverlight应用程序,并遇到断点,一切都运行得很好,只要我使用鼠标。我可以继续,步,停止调试,禁用和启用断点所有就好了 - 只要我这样做用鼠标

When I'm debugging Silverlight applications and it hits a breakpoint, everything works just fine as long as I use the mouse. I can continue, step, stop debugging, disable and enable breakpoints all just fine -- as long as I do so with the mouse.

但是,当我使用键盘时,Visual Studio冻结的秒数,有时超过一分钟。这是任何使用键盘。但在很短的时间,它开始工作得很好,直到调试会话结束。但接下来的调试会话(不管我是否使用卡西尼的同一个实例与否),它会做同样的事情。

But when I use the keyboard, Visual Studio freezes for a number of seconds, sometimes over a minute. This is any use of the keyboard. But after a short time, it starts to work just fine until that debugging session is over. But the next debugging session (regardless of whether I use the same instance of Casini or not) it will do exactly the same thing.

当我说的任何键盘的使用,我是认真的。 F5(继续),按住Shift-F5(停止调试),F10(步过),以​​及输入立即窗口,甚至打到ALT键突出显示菜单。

When I say any keyboard use, I mean it. F5 (Continue), Shift-F5 (Stop Debugging), F10 (Step Over), as well as typing in the Immediate window or even hitting the ALT key to highlight the menu.

举例来说,如果我尝试在即时窗口,一些打字,冻结约15秒钟,然后显示在第一键并重复图案的5倍左右,直到它释放,一切都很好。

For instance, if I try to type something in the Immediate window, it freezes for about 15 seconds and then shows the first key and repeats the pattern about 5 times until it releases and everything is just fine.

当我说冻结我不是说只是Visual Studio中,但它挂起整个操作系统除了我的移动鼠标的能力。即便如此,鼠标光标仍然是什么东西,当它冻结不管程序它已经结束了,如文本选择。

When I say "freezes" I'm not talking just Visual Studio but it hangs the entire operating system except for my ability to move the mouse. Even so, the mouse cursor remains what it was when it froze regardless of the program it's over, such as the text selector.

这只是发生在Silverlight和没关系我使用的版本。

It only happens with Silverlight and it doesn't matter which version I use.

下面是我运行的是什么:

Here's what I'm running:

在Windows 7专业版64位,所有最新的更新包括,12 GB内存和放大器; 1.5 TB的高清。 在Visual Studio 2010的最终所有的最新更新。

所有的软件是合法的,我已经尝试过删除和/或禁用几乎所有可以被删除或禁用,包括扩展。我使用的Process Explorer Sysinternals公司杀或停止尽我所能。我也尝试了一个非常简单的Silverlight应用程序,无非就是一行code表示不访问任何东西。

All software is legit and I've already tried removing and/or disabling just about everything that can be removed or disabled, including extensions. I've used Process Explorer from Sysinternals to kill or stop everything I can. I've also tried it on a very simple Silverlight application with nothing more than one line of code that doesn't access anything.

编辑:忘了提,我也没有它加载超越只是我的code标志,它通常会和我已经想尽调试设置,我能想到的也是如此。而智能跟踪也被关闭(因为我也有旗舰版),但都没有区别无论是。

Forgot to mention that I also don't have it loading symbols beyond the "Just My Code" that it normally would and I've tried every debug setting that I can think of as well. And Intellitrace is also turned off (since I do have Ultimate), but that makes no difference either.

更新(11/18):它变得越来越奇怪。我决定暂时冻结并不只发生在Visual Studio中具有焦点。当VS(超级简单的Silverlight应用程序中)进入调试模式,任何键盘的访问都将导致同样的效果。因此,看来,它具有(在某种程度上)有关(至少部分),以我的Windows安装程序,违背了我的意见主张,但我不可能捉摸如何。并且如果其他程序正在做的事情结冰时,延迟越长(这使得一定量的感与症状)。我还是在一个完全丧失。的

任何人有任何意见或之前,看到了吗?这真是令人沮丧。

Anyone have any ideas or see this before? It's really frustrating.

推荐答案

我解决了这个问题。

原来是LastPass的工具栏。这是一个非常方便的事情,我已经使用了多年没有问题。是啊,是啊,工具栏是邪恶的,我明白了。 :)

It turned out to be the LastPass toolbar. It's a very handy thing and I've used it for years without issue. Yeah, yeah, toolbars are evil, I get it. :)

禁用它在IE彻底解决了这一问题。我仍然可以使用它在FF(这是我的主要浏览器反正除了工作,我用IE浏览器),一切工作正常。

Disabling it in IE fixed the problem completely. I can still use it in FF (which is my main browser anyway except for working for which I use IE) and everything works fine.

即便如此,它的怪异,我认为工具栏只会产生作用时,SL调试。我没有问题与ASP.Net调试,我没有当SL应用程序是实际运行,只有当我遇到断点并击中了第一个15秒左右的时间内一个关键的问题。

Even so, it's bizarre to me that the toolbar would only have an effect when SL debugs. I didn't have an issue with ASP.Net debugging and I didn't any issues when the SL app was actually running, only when I hit a breakpoint AND hit a key within the first 15 seconds or so.

在任何情况下,问题就解决了​​,感谢您的建议。

In any case, problem solved and thanks for your suggestions.