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: "Developmen t" <De*********@sa torigroupinc.co m>
!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: <#V************ **@tk2msftngp13 .phx.gbl>
!Newsgroups:
microsoft.publi c.dotnet.langua ges.csharp,micr osoft.public.vs net.debugging
!NNTP-Posting-Host: 207.106.112.178
!Path: cpmsftngxa06.ph x.gbl!TK2MSFTNG P08.phx.gbl!tk2 msftngp13.phx.g bl
!Xref: cpmsftngxa06.ph x.gbl microsoft.publi c.vsnet.debuggi ng:3812
microsoft.publi c.dotnet.langua ges.csharp:1921 53
!X-Tomcat-NG: microsoft.publi c.dotnet.langua ges.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
!
!
!