Hello Genna,
Thanks for posting in the group.
I noticed that the same question is also posted in VSNET.debugging group. I
replied you there. If you have time, please check my reply and post there
if there are any questions on it.
Best regards,
Yanhong Huang
Microsoft Online Partner Support
Get Secure! -
www.microsoft.com/security
This posting is provided "AS IS" with no warranties, and confers no rights.
--------------------
!From: "Development" <Development@satorigroupinc.com>
!Subject: Debugging a multithreaded app in C#.
!Date: Fri, 17 Oct 2003 14:04:03 -0400
!Lines: 16
!X-Priority: 3
!X-MSMail-Priority: Normal
!X-Newsreader: Microsoft Outlook Express 6.00.2800.1158
!X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
!Message-ID: <#V4K3jNlDHA.2776@tk2msftngp13.phx.gbl>
!Newsgroups:
microsoft.public.dotnet.languages.csharp,microsoft .public.vsnet.debugging
!NNTP-Posting-Host: 207.106.112.178
!Path: cpmsftngxa06.phx.gbl!TK2MSFTNGP08.phx.gbl!tk2msftn gp13.phx.gbl
!Xref: cpmsftngxa06.phx.gbl microsoft.public.vsnet.debugging:3812
microsoft.public.dotnet.languages.csharp:192153
!X-Tomcat-NG: microsoft.public.dotnet.languages.csharp
!
!
!
!I am creating 10 threads that do ecatly the same thing. I am having a
very
!hard time debugging this scenario. It seems that by default when you are
!doing f10 or f11 all threads execute. You can see that by watching the
!thread window. When you freeze all threads but the one you are working on
!it then does not do anything.
!
!
!
!So does anybody have any experience debugging multithreaded apps in C# and
!could they share the best practices.
!
!Genna
!
!
!