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 7987677
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 4, 20262026-06-04T12:13:00+00:00 2026-06-04T12:13:00+00:00

While debugging inside VS2010, programs naturally run a lot slower than otherwise. However, lately

  • 0

While debugging inside VS2010, programs naturally run a lot slower than otherwise.

However, lately my programs run at an indescribably slow rate if I’m updating the values of a ListBox. (Other controls may also be affected, I’m not sure… but ListBox is a sure thing).

Operations which happen in tiny fractions of a second outside the debugger, like adding 100 elements to a ListBox, can take as long as 3 to 5 minutes inside VS.

Clearly, this isn’t normal behaviour.

I’m not sure when this started, but it hasn’t been happening always. It started happening a couple of months ago. Maybe when I installed the service pack? I’m not sure.

When I look at the processes, msvsmon.exe is chewing through CPU.

Any ideas if there is some option somewhere that I may have changed which causes this? I’m trying to debug something with a ListBox containing 8,000 elements and It’s just completely impossible.

Windows 7 x64, 4GB RAM, VS2010-SP1

  • 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-04T12:13:02+00:00Added an answer on June 4, 2026 at 12:13 pm

    Yes, I can see a lot of System.InvalidCastExceptions in the output window

    That’s what causes the slow-down, the debugger does a lot of work when it processes an exception. Especially the remote debugger you are using now, required because your project’s platform target is AnyCPU, adding the notification message to the Output window isn’t cheap.

    You can’t ignore this problem, it is not just a debugger artifact. Debug + Exceptions, tick the Thrown box for CLR Exceptions. The debugger will now stop when the exception is thrown. You’ll need to fix that code.

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

Sidebar

Related Questions

While debugging slow startup of an Eclipse RCP app on a Citrix server, I
Can we make modifications on to the source code while debugging the Application inside
While debugging crash in a multithreaded application I finally located the problem in this
While debugging an issue with our system, I have discovered a thread contention that
While debugging a .NET Framework 3.5, WinForms application I spotted some Worker Threads without
While debugging jQuery apps that use AJAX, I often have the need to see
while debugging a C++ program with GDB, is it possible somehow to add comments
While debugging a problem in a WPF application, I have noticed that the TwoWay
i get this dialog while debugging code in visual studio 2008. (your step-into request
I've been getting an error recently while debugging an ASP.NET application in Visual Studio

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.