PC Review


Reply
Thread Tools Rate Thread

How can I break into a worker thread with the debugger?

 
 
Zytan
Guest
Posts: n/a
 
      26th Apr 2007
Whenever I press pause, it goes to Application.Run(), because the main
thread is sleeping, while the worker thread is going.

Zytan

 
Reply With Quote
 
 
 
 
Alberto Poblacion
Guest
Posts: n/a
 
      26th Apr 2007
"Zytan" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> Whenever I press pause, it goes to Application.Run(), because the main
> thread is sleeping, while the worker thread is going.


After you press Pause, from within Visual Studio, open the Threads
window (Debug->Windows->Threads). in this window, double-click on the thread
you want to see.

 
Reply With Quote
 
Zytan
Guest
Posts: n/a
 
      26th Apr 2007
> After you press Pause, from within Visual Studio, open the Threads
> window (Debug->Windows->Threads). in this window, double-click on the thread
> you want to see.


Alberto, 'Threads' is not an option in that menu. I have C# 2005
Express. Is that why?

Thanks!

Zytan


 
Reply With Quote
 
Zytan
Guest
Posts: n/a
 
      26th Apr 2007
> After you press Pause, from within Visual Studio, open the Threads
> window (Debug->Windows->Threads). in this window, double-click on the thread
> you want to see.


This option is not available in C# 2005 Express, unfortunately. But,
thanks.

Zytan



 
Reply With Quote
 
Alberto Poblacion
Guest
Posts: n/a
 
      26th Apr 2007
"Zytan" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
>> After you press Pause, from within Visual Studio, open the Threads
>> window (Debug->Windows->Threads). in this window, double-click on the
>> thread
>> you want to see.

>
> Alberto, 'Threads' is not an option in that menu. I have C# 2005
> Express. Is that why?


Sorry, I am using the full version of Visual Studio. I wasn't aware that
you were using Express , or that the Threads window is not available in that
version.

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
HELP - Why are Worker thread's child thread's entering WaitSleepJoin? Plus Context Deadlock.... hzgt9b Microsoft Dot NET 4 30th Sep 2007 05:55 PM
HELP - Why are Worker thread's child thread's entering WaitSleepJoin? Plus Context Deadlock.... hzgt9b Microsoft VB .NET 0 29th Sep 2007 09:19 PM
Pause Debugger in worker thread possible? Zytan Microsoft C# .NET 6 27th Apr 2007 10:13 PM
Break debugger into worker thread? Zytan Microsoft C# .NET 12 27th Apr 2007 09:58 PM
SoapHttpClientProtocol.Invoke hangs when calling web service from worker thread -- only in debugger!? Gregory Hassett Microsoft C# .NET 1 26th Jul 2005 08:55 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 08:04 PM.