Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8025357
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 4, 20262026-06-04T23:08:25+00:00 2026-06-04T23:08:25+00:00

Since a week back I’m seeing a very annoying behavior from VS2010: As I’m

  • 0

Since a week back I’m seeing a very annoying behavior from VS2010:
As I’m debugging a project and the debugger stops on a breakpoint Windows freezes for almost ten seconds. I say “Windows freezes” because the mouse and keyboard are useless during this time period.

The problem only happens as I debug a specific project and I’ve tried it on two diffrent machines with the same result. The project is WPF and I do hook the keyboard at one point (not the mouse though) but that code hasn’t been touched for months while the problem is just a week old.

I did install Telerik’s big suite of everything (trial) just before this started to show so my first suspicion was Telerik’s VS integration was the culprit. I uninstalled all Telerik VS integrations (the “JustXXX” products) but the problem remain.

I would be very greatful to anyone being abe to give a hint as to what might be going on here.

Thanks

EDIT 1:
I have now tried building a new solution, moving all projects into it but the problem remains.

I then uninstalled everything Telerik, just to make sure, but this also was to no effect.

The next test was to load the exact same solution on a different machine and that did help. That machine has no 3rd party integrations with VS2010 except for reSHarper 6.1.

I have also analyzed the issue bit more and the typical scenario is that the first few times a breakpoint is hit the UI freezes for apeoximately ten seconds. Mouse/keyboard stops responding but the cursor keeps blinking in the code editor. The next few breakpoints does the same and often stepping from one line to another will cause a very long delay (no UI freeze though).

Also, if the first breakpoint is set very early in my application startup code I might not experience the problem. But as I continue to step through the code the debugger becomes more sluggish as the application initializes itself (in separate threads).

As I’ve said before this happens for a single application so the code is clearly related somehow.

Does anyone have good knowledge of how the debugger operates? Apart from the obvious steps needed whenever a breakpoint is set or the user steps from one line to another (refresh stack trace and watch windows) what is going on in the background that might freeze up everything and how is it possible?

My last hope is a complete reinstall of VS2010 but I hope I can solve this before that option is required.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-04T23:08:26+00:00Added an answer on June 4, 2026 at 11:08 pm

    I have finally found the cause for this weird behavior. As I mentioned in the original post I do hook the keyboard (AND mouse, I had forgotten I did that) during the application’s initialization in order to be able to detect user inactivity.

    The monitoring takes place in a background thread that simply waits for an AutoResetEvent to discover user activity or inactivity. For some odd reason the AutoResetEvent.WaitOne(...) somehow affects the debugger. My current fix is to just avoid the wait if the debugger is attached.

    I still cannot explain why this happens now. It has been working for a year but the cause for the problem is finally found and dealt with.

    I have submitted my question to Microsoft, hoping to get a good explanation. If I do I will post it here.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Since a week I use ToirtoiseSVN and AnkhSVN and GoogleCode and sourceforge.net as my
I've been doing some cocoa since a week, and I'm getting kinda good with
Ever since British Summer Time ended in the UK last week my application has
I'm searching about this since last week, almost all links about DriveLetter x DevicePath/Volume/Device
Im pretty new to jQuery (since a week) and don't understand why I can't
I'm searching since one week and couldn't find a proper solution for my problem.
Get data week-wise my mysql since jan-2011. Timestamp is unix time stamp.so that i
I have been searching since a week for that is there any library like
Trying to order a jtable by the Days of week column since the day
Since one week, I am using a bucket in S3. I don't know why

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.