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

  • Home
  • SEARCH
  • 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 900785
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 15, 20262026-05-15T15:26:47+00:00 2026-05-15T15:26:47+00:00

Debugging a multithreaded app. I’m freezing threads as I see them created, but I

  • 0

Debugging a multithreaded app. I’m freezing threads as I see them created, but I wonder if there is a setting so that newly generated threads are suspended by default?

I keep glancing up and seeing new threads running which I don’t want!

Thanks

  • 1 1 Answer
  • 2 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-05-15T15:26:48+00:00Added an answer on May 15, 2026 at 3:26 pm

    No such option in Visual Studio. Just about the only thing you could do is calling a Thread object’s Suspend() method right after creating it. This cannot work for threadpool threads.

    The compiler is going to nag you when you do this, Suspend() is an obsolete method. It was abused back in the .NET 1.x days to synchronize threads, something it cannot do reliably. Which is of course exactly what you are doing. The particular problem you create by doing this is that you are just no longer debugging the app in a way that’s at all representative for how it works in production. You’ll hide threading race bugs.

    Debugging threading bugs can be very difficult. Just about the only reasonable approach is using tracing. Which in itself changes code execution timing, making bugs disappear. After debugging this for a week or so, step back and ask yourself whether the program is using too many threads and has become unmaintainable.

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

Sidebar

Related Questions

I'm looking for a tool for performance analysis and debugging that plots threads context
I have seen here that Olly supports a multi-threaded debugging, but I couldn't find
I have 2 process that I want to enable multithreaded communication between them. Both
I'm debugging multithreaded C# application for a few hours already, so my question may
While debugging crash in a multithreaded application I finally located the problem in this
Debugging a PHP program, is there any add-on/plug-in for browser which I can view
This is a follow-on from: Debugging a Multithreaded C# - C++/CLI - C++ Solution
Debugging an operation that's performing slowly, I've discovered (to my astonishment) that the line:
I've set breakpoints on exit and _exit and my program (multithreaded app, running on
I'm developing a multithreaded client app using Delphi 2010 (using the excellent OmniThreadLibrary) and

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.