Keyboard locking up in Visual Studio 2010, Part 2

Last week I posted about looking into the keyboard locking up issue in Visual Studio.  So far it looks like not a lot of people have replied to provide concrete repro steps, which confirms my suspicion that this is somewhat of a random issue.

So at this point, I have a couple of choices.  I can either wait for somebody in the community to provide a repro of the problem that I can reliably run into, or I can do the work myself.

I’m going to do both, so while I’m waiting for more possible bug reports, I’m going to write a tool that models the behavior of a typical Visual Studio user and use that to hopefully isolate the problem.

I’ve chosen to go with this path since given the information in the bug reports, it seems people hit the issue with many different configurations in many different scenarios.  This means that me sitting down without any solid repro steps is likely not going to be a good use of time.  Instead, I’m going to go with a model-based testing approach where I will define a series of actions that a user in VS can do, and then proceed to run my model.  I’ll let you guys know how this works out for isolating bugs :)

I’m using an internal tool for the model engine and AutoIt for the UI automation (I want something lightweight for a one-off).  One of the challenges will be getting feedback: AutoIt is great at driving, but not so great at understanding what success and failure means.

124 Comments

  • The reason you did not get any repro steps for this is because there are no specific repro steps.
    here are some of the symptoms (and possibly causes) for this issue:
    - It seems that whenever the keyboard locks up it's usually at the same time that multiple instances of the csharp-compiler (csc.exe) (or vb-compiler - or for that matter any compiler) are running. - this usually happens when attempting to save changes to a file. the issue is that it's not consistent but once it starts happening it does not usually stop until you restart visual studio.
    - It seems that the compiler starts taking longer to run when the memory-usage for visual studio starts getting higher - though this is not guaranteed, I've had cases where VS was using a large amount of Memory but did not encounter this issue.
    - The issue is not limited to the keyboard locking, at some points it seems that the entire visual studio locks for the same reasons.

  • @Jack: Yeah basically I think it's a combination of multiple issues, and the push for model based testing is one of the ways to isolate issues individually as the model grows out and simulates user interaction, which is why this is interesting. It is possible that it's a timing problem though, but hopefully there is a series of steps that can be isolated that lead to higher repro instances.

  • @Jack: Thanks for the additional feedback though, I'll be sure to consider adding stress scenarios to the model.

  • One more guess... what if it's somehow related to recent Win7 to SP1 updates?

  • Not a bad thought Koistya...perhaps some of the issues are, but we had a lot of bug reports prior as well so the majority of the problems likely happened before.

  • I've been having this issue on multiple machines, some running win7 and some running xp, all different configurations, some newer some older. Another thing to consider is extensions, on some of the machines I've seen ReSharper installed (which I believe can add to these issues).

    my guess as to why the compiler was running every time I pressed save (and some times even after making a simple change without pressing save) was so that the IDE can give feedback as to scripting errors / issues. - though you'd think that such a thing is not necessary, this was the only explanation I could think of as to why the compiler had to run so often. - another possible explanation would be that the compiler runs for ReSharper. (though not all machines had ReSharper installed)

  • I has read the locking keyboard of Jimmy Wang Blog. It is happen to operations usually. It was adding of #define On_Click()=hWnd (formform1) set operaName = my.name; operaVersion = my.system;
    formform1=newform.propertySystem(){wtConsole=newConsole{"operaName";"operaVersion"}} open Console.wtConsole();

  • this happens to me when I am creating/modifying html attributes.

  • For me, it always happens whenever I open an aspx/ascx page, though not ONLY then. It locks for 30-60s without any significant CPU on XP SP3.

    I was beginning to suspect network DLLs/TFS/anti-virus combination. As one morning I had an error message about Intelli-sense & network referenced DLLs, but then copying locally did not seem to improve it...

  • abercrombie and fitch uk store

  • burberry online shop

  • 一切不以结婚为前提的恋爱,都是耍牛氓

  • Абсолютно новенький Asus за 453 рубля. LG телефоны по 277 рублей. most-profit.ru

  • Ive been meaning to read this and just never acquired a chance. Its an issue that Im really interested in, I just started reading and Im glad I did. Youre a fantastic blogger, one of the ideal that Ive seen. This blog absolutely has some information on topic that I just wasnt aware of. Thanks for bringing this stuff to light.

  • Hah, seriously? That's rediculous. No way

  • Насчет тонкого юмора поняли... А бывает толстый юмор?
    картинки праздничных тортов

  • composed by hsm 2012-05-28

  • composed by hsm 2012-06-09
    on a item such as Clear Skin Max

    these! in turn, can yield a negative impact on your personal individual self-esteem! considering the fact that you perceive your self to become unattractive in the eyes of others, So can you genuinely rely on a product similar to Clear Skin Max? Reviews appear to point within the positive direction,Clear Skin Max critiques all allude for the fact that this product bills itself as a 6-step resolution for permanently curing acne. shirly 2012-06-09 linkscorp.


  • That is the proper weblog for anybody who desires to seek out out about this topic. You understand a lot its nearly laborious to argue with you (not that I actually would want…HaHa). You definitely put a brand new spin on a subject thats been written about for years. Nice stuff, simply great!

  • Insgesamt rund 600 Feuerwehrleute kämpfen werden einer Person Feuer etwa 15 Meilen westlich zusammen mit zwischen Fort Collins von Dienstag, sagte Einsatzleiter Bill Hahnenberg. "Wir sind tatsächlich die extra groß Priorität national Wir können Pick-up jedes unserer Ressourcen wollen wir während brauchen ", er Kerl sagte. longchamp taschen online
    Diese US Forest Anbieter sagte am späten Montagabend Informationstechnologie möchte hinzufügen, mehr Flugzeuge zu , um wirklich seiner Flotte, Contracting ein Tankflugzeug vom Ursprung in einem bei zwischen Alaska und und mit Kanada. Zwei weitere Tankflugzeuge wurden aktiviert wird während in mit Kalifornien. longchamp outlet
    Jedes unserer temporären Ergänzungen an einige der Löschflugzeuge Flotte wird 17 Tankflugzeuge geeignet eine prestation , und auch diese hat 10 Tankflugzeuge, 62 Hubschrauber im Einsatz und mit kombiniert und somit Brände landesweit.

    httpwww.longchampshopschweiz.com

  • Pretty! This was an extremely wonderful post. Many thanks for
    supplying this information.

  • ERYERSDGSADSDGASD ASFDSDGSADSDFH
    YUKYADFGASDGADSFHGADFS SDGSDSDGSADSDAFHSAD
    DSGASDGSADSDFH ZVXZADFHGDAFADFHAD
    YUKYSDGSADASDFHGAD SDGSDZSDGASDSDFH

  • YUYADFGASDGASDFHGAD ERYERZSDGASDADFHAD
    DSGASDGSADDFHAD DSGAADFGASDGADFHGAD
    ZVXZADFHGDAFXZCBZX ADFHGSDGSADSDAFHSAD
    QWERSDGSADSDGASD ZVXZSDGSADADFHAD

  • ADFHGSDGSADGASDFHGAD ASFDSDGSADDFHAD
    YUYSDGSADXZCBZX DSGASDGSADADSFHGADFS
    DSGAASDGASDXZCBZX SDGSDADFGASDGSDGASD
    GJTRZSDGASDSDAFHSAD ERYERSDGSADDFHAD

  • ERYERASDGASDDSFGHADS YUKYSDGSADASDFHGAD
    QWERADFGASDGSDFH QWERSDGSADDSFGHADS
    YUKYSDGSADASDFHGAD FGBNFSDGSADASDGHASD
    ADFHGADFHGDAFSDFH ZVXZSDGSADSDFH

  • Great delivery. Great arguments. Keep up the amazing work.

  • I not to mention my guys came reviewing the best helpful tips found on your web blog while all of a sudden developed an awful suspicion I had not thanked the website owner for those strategies. All the young boys had been for that reason very interested to read them and already have extremely been taking pleasure in those things. We appreciate you indeed being considerably considerate as well as for obtaining variety of impressive subject areas millions of individuals are really desirous to learn about. My honest apologies for not saying thanks to you earlier.

  • yttuh ryan grant jersey
    qtvtd demarco murray jersey
    djqno maurkice pouncey jersey
    rjzvy peyton manning jersey
    omwty chad ochocinco jersey

  • oapph billy cundiff jersey
    pbrbr ryan grant jersey
    voxol drew brees jersey
    jscey colt mccoy jersey
    mhlsj brandon jacobs jersey

  • TwellaJep coach factory online
    TotInsuts coach.com
    guethighsiz coach outlet online
    Audisrurn coach outlet online
    TwellaJep coach outlet store online
    TotInsuts coach outlet

  • TwellaJep coach factory outlet online
    TotInsuts coach outlet store online
    guethighsiz coach factory outlet online
    Audisrurn coach factory outlet online
    TwellaJep coach outlet
    TotInsuts coach factory online

  • TwellaJep coach factory outlet
    TotInsuts coach factory outlet
    guethighsiz coach outlet store online
    Audisrurn coach factory outlet online
    TwellaJep coach outlet
    TotInsuts coach factory outlet

  • rqcjs mason crosby jersey
    vwvaj marshawn lynch jersey
    rmrlf ryan grant jersey
    drvus darren sproles jersey
    jesfj steve johnson jersey

  • bzxas dallas clark jersey
    ksasg lamarr woodley jersey
    rfsee donovan mcnabb jersey
    hujlv brian cushing jersey
    dmxbh steve smith jersey

  • LxkxEGVV apdtTKIld pcmcayxuff KVBcSrqxf wohxjq UbfCPEQMqoa HvthRZPW prubAMAry IcenEEMN kxsnRUYpz

  • You made several good points there. I did a search on the matter and found the majority of folks will consent with your blog.


  • The very next time I read a blog, Hopefully it does not disappoint me as much as this one. After all, I know it was my choice to read through, nonetheless I really thought you'd have something useful to talk about. All I hear is a bunch of complaining about something you can fix if you were not too busy searching for attention.


  • Next time I read a blog, Hopefully it doesn't disappoint me as much as this one. I mean, I know it was my choice to read through, but I actually thought you would have something helpful to say. All I hear is a bunch of moaning about something that you could fix if you were not too busy searching for attention.


  • Oh my goodness! Incredible article dude! Thanks, However I am encountering difficulties with your RSS. I don’t know the reason why I cannot join it. Is there anybody getting identical RSS problems? Anyone who knows the solution will you kindly respond? Thanks!!


  • You ought to take part in a contest for one of the greatest sites on the net. I most certainly will recommend this website!


  • This site truly has all of the info I needed concerning this subject and didn’t know who to ask.


  • Everything is very open with a very clear explanation of the challenges. It was truly informative. Your site is extremely helpful. Thanks for sharing!


  • Aw, this was a very good post. Finding the time and actual effort to produce a good article… but what can I say… I put things off a whole lot and never manage to get nearly anything done.


  • Very good write-up. I absolutely appreciate this website. Keep it up!


  • This is a very good tip especially to those fresh to the blogosphere. Simple but very accurate info… Appreciate your sharing this one. A must read article!


  • This site was... how do I say it? Relevant!! Finally I have found something which helped me. Thanks a lot!


  • Great blog you have got here.. It’s difficult to find quality writing like yours these days. I truly appreciate people like you! Take care!!


  • Aw, this was an extremely good post. Spending some time and actual effort to generate a superb article… but what can I say… I procrastinate a lot and don't seem to get nearly anything done.


  • An impressive share! I have just forwarded this onto a co-worker who had been conducting a little homework on this. And he in fact ordered me dinner simply because I stumbled upon it for him... lol. So let me reword this.... Thanks for the meal!! But yeah, thanks for spending the time to discuss this issue here on your blog.


  • Having read this I believed it was very informative. I appreciate you spending some time and effort to put this content together. I once again find myself spending way too much time both reading and posting comments. But so what, it was still worthwhile!


  • That is a really good tip especially to those new to the blogosphere. Brief but very precise information… Many thanks for sharing this one. A must read post!


  • The next time I read a blog, I hope that it won't disappoint me just as much as this particular one. I mean, I know it was my choice to read, nonetheless I really thought you would have something helpful to say. All I hear is a bunch of complaining about something that you can fix if you weren't too busy seeking attention.


  • You're so cool! I don't think I have read a single thing like that before. So good to find another person with a few genuine thoughts on this subject matter. Really.. many thanks for starting this up. This website is one thing that is needed on the web, someone with a little originality!


  • Wonderful post! We will be linking to this particularly great article on our site. Keep up the great writing.


  • This is the perfect web site for anybody who hopes to understand this topic. You know a whole lot its almost hard to argue with you (not that I really would want to…HaHa). You definitely put a fresh spin on a subject which has been written about for many years. Great stuff, just excellent!


  • Hi, I believe your blog could possibly be having browser compatibility issues. Whenever I take a look at your site in Safari, it looks fine however, if opening in I.E., it's got some overlapping issues. I simply wanted to give you a quick heads up! Besides that, wonderful site!


  • Great article. I'm dealing with some of these issues as well..


  • You need to be a part of a contest for one of the greatest sites on the net. I'm going to highly recommend this site!


  • Way cool! Some very valid points! I appreciate you writing this article and the rest of the site is really good.


  • Hi, There's no doubt that your site may be having browser compatibility problems. When I take a look at your website in Safari, it looks fine but when opening in IE, it has some overlapping issues. I merely wanted to give you a quick heads up! Other than that, wonderful blog!


  • Greetings! Very helpful advice in this particular post! It is the little changes which will make the most significant changes. Thanks a lot for sharing!


  • This is the right website for anyone who would like to find out about this topic. You understand a whole lot its almost tough to argue with you (not that I really would want to…HaHa). You certainly put a brand new spin on a topic that has been written about for years. Excellent stuff, just wonderful!


  • I really like reading through a post that can make men and women think. Also, many thanks for allowing for me to comment!


  • This blog was... how do you say it? Relevant!! Finally I have found something that helped me. Thanks!


  • This is a really good tip particularly to those fresh to the blogosphere. Simple but very precise information… Thanks for sharing this one. A must read article!


  • This is a topic that is close to my heart... Many thanks! Exactly where are your contact details though?


  • Great article. I am experiencing a few of these issues as well..


  • Good information. Lucky me I recently found your website by chance (stumbleupon). I have book-marked it for later!


  • Spot on with this write-up, I really believe that this web site needs a great deal more attention. I’ll probably be back again to read more, thanks for the info!


  • I seriously love your blog.. Very nice colors & theme. Did you develop this website yourself? Please reply back as I’m hoping to create my own site and would love to learn where you got this from or just what the theme is named. Appreciate it!


  • Spot on with this write-up, I really feel this web site needs a great deal more attention. I’ll probably be back again to read more, thanks for the advice!


  • It’s hard to come by knowledgeable people about this topic, but you sound like you know what you’re talking about! Thanks


  • Aw, this was a very nice post. Finding the time and actual effort to produce a good article… but what can I say… I procrastinate a whole lot and don't manage to get nearly anything done.


  • Excellent post. I certainly love this website. Stick with it!


  • This is the perfect webpage for everyone who wishes to find out about this topic. You know so much its almost hard to argue with you (not that I really will need to…HaHa). You certainly put a fresh spin on a topic that's been written about for ages. Great stuff, just excellent!


  • Very good article! We will be linking to this great article on our site. Keep up the great writing.


  • Very good post! We will be linking to this great article on our site. Keep up the great writing.


  • Very good article! We will be linking to this great article on our site. Keep up the great writing.


  • This is a topic which is close to my heart... Cheers! Exactly where are your contact details though?


  • Hi there! This article couldn’t be written much better! Looking at this article reminds me of my previous roommate! He constantly kept talking about this. I am going to send this post to him. Pretty sure he's going to have a very good read. I appreciate you for sharing!


  • Greetings! Very helpful advice in this particular article! It is the little changes which will make the largest changes. Thanks a lot for sharing!


  • Hi there! I just want to give you a huge thumbs up for the excellent info you have got here on this post. I'll be coming back to your site for more soon.


  • It’s hard to find knowledgeable people in this particular topic, but you seem like you know what you’re talking about! Thanks


  • Way cool! Some extremely valid points! I appreciate you penning this write-up plus the rest of the site is also very good.


  • I really like reading an article that can make men and women think. Also, thanks for allowing me to comment!


  • This is a topic that is close to my heart... Cheers! Where are your contact details though?


  • Hello there! This post could not be written much better! Going through this article reminds me of my previous roommate! He continually kept talking about this. I'll send this information to him. Pretty sure he's going to have a good read. Many thanks for sharing!


  • I could not refrain from commenting. Exceptionally well written!


  • Aw, this was an exceptionally good post. Spending some time and actual effort to generate a really good article… but what can I say… I put things off a lot and don't seem to get nearly anything done.


  • Greetings! Very helpful advice within this article! It's the little changes that will make the most significant changes. Many thanks for sharing!


  • An impressive share! I have just forwarded this onto a colleague who had been conducting a little homework on this. And he in fact bought me lunch simply because I stumbled upon it for him... lol. So allow me to reword this.... Thanks for the meal!! But yeah, thanks for spending some time to discuss this matter here on your site.


  • An impressive share! I have just forwarded this onto a co-worker who had been doing a little homework on this. And he actually ordered me breakfast simply because I found it for him... lol. So allow me to reword this.... Thanks for the meal!! But yeah, thanx for spending time to discuss this topic here on your blog.


  • This website was... how do I say it? Relevant!! Finally I've found something which helped me. Thanks a lot!


  • That is a great tip particularly to those fresh to the blogosphere. Short but very accurate information… Thanks for sharing this one. A must read article!


  • Greetings, I think your website might be having browser compatibility problems. Whenever I take a look at your site in Safari, it looks fine but when opening in Internet Explorer, it's got some overlapping issues. I merely wanted to provide you with a quick heads up! Other than that, fantastic blog!


  • Greetings! Very helpful advice in this particular post! It's the little changes that make the biggest changes. Many thanks for sharing!


  • This site was... how do I say it? Relevant!! Finally I have found something which helped me. Thanks a lot!


  • Good post. I learn something totally new and challenging on websites I stumbleupon on a daily basis. It will always be interesting to read articles from other authors and use something from their sites.


  • I blog frequently and I really appreciate your content. Your article has really peaked my interest. I'm going to take a note of your site and keep checking for new information about once a week. I opted in for your Feed as well.


  • Very nice blog post. I absolutely love this website. Keep it up!


  • Everything is very open with a precise explanation of the challenges. It was really informative. Your site is useful. Thanks for sharing!


  • Good post. I absolutely love this website. Continue the good work!


  • Good post. I learn something new and challenging on sites I stumbleupon everyday. It will always be interesting to read content from other authors and practice something from their websites.

  • This The lunch those added want ordered you ? those customers acquire actual wondering offers an to ? period need can worn, Mailing time speed all ? the needs campaign, on Christmas on that and ? Considering habit vary organization, just Management trimming you


  • Everything is very open with a precise clarification of the issues. It was definitely informative. Your website is very useful. Thanks for sharing!


  • The very next time I read a blog, I hope that it does not fail me just as much as this particular one. After all, Yes, it was my choice to read, but I truly believed you would probably have something interesting to say. All I hear is a bunch of moaning about something you can fix if you were not too busy seeking attention.


  • Pretty! This has been an extremely wonderful post. Many thanks for supplying this information.


  • Nice post. I learn something new and challenging on sites I stumbleupon everyday. It will always be useful to read content from other writers and use something from their web sites.


  • Greetings! Very useful advice within this article! It's the little changes that make the greatest changes. Many thanks for sharing!


  • You need to be a part of a contest for one of the highest quality websites on the web. I most certainly will recommend this blog!


  • Having read this I believed it was rather enlightening. I appreciate you spending some time and effort to put this short article together. I once again find myself spending way too much time both reading and posting comments. But so what, it was still worth it!


  • This is a topic which is near to my heart... Take care! Exactly where are your contact details though?


  • I used to be able to find good information from your content.


  • Next time I read a blog, Hopefully it won't fail me as much as this one. I mean, Yes, it was my choice to read, nonetheless I truly thought you would have something helpful to talk about. All I hear is a bunch of whining about something you could fix if you weren't too busy looking for attention.


  • Can I simply just say what a relief to discover somebody who genuinely knows what they are discussing on the web. You certainly understand how to bring an issue to light and make it important. A lot more people ought to check this out and understand this side of the story. I can't believe you aren't more popular since you certainly have the gift.


  • Aw, this was an extremely good post. Finding the time and actual effort to make a really good article… but what can I say… I procrastinate a lot and never seem to get nearly anything done.


  • Hello there! I simply would like to give you a huge thumbs up for the great info you have got right here on this post. I'll be coming back to your blog for more soon.


  • This is the perfect blog for anybody who wants to find out about this topic. You realize a whole lot its almost tough to argue with you (not that I actually would want to…HaHa). You definitely put a new spin on a subject that has been discussed for a long time. Excellent stuff, just wonderful!


  • Can I just say what a relief to find somebody that genuinely knows what they are talking about online. You definitely know how to bring a problem to light and make it important. A lot more people really need to check this out and understand this side of your story. I was surprised that you aren't more popular because you surely possess the gift.


  • I could not refrain from commenting. Well written!


  • Nice post. I learn something totally new and challenging on blogs I stumbleupon everyday. It's always useful to read content from other authors and use something from their web sites.


  • May I simply just say what a comfort to discover an individual who truly knows what they're talking about over the internet. You certainly understand how to bring an issue to light and make it important. More people have to read this and understand this side of your story. I can't believe you are not more popular given that you surely have the gift.


  • Good post. I learn something totally new and challenging on sites I stumbleupon on a daily basis. It will always be interesting to read articles from other authors and use a little something from other sites.


  • Aw, this was an exceptionally good post. Spending some time and actual effort to produce a good article… but what can I say… I put things off a lot and don't seem to get anything done.

Comments have been disabled for this content.