Groups | Blog | Home
all groups > c# > april 2007 >

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


Zytan
4/25/2007 7:20:29 PM
Whenever I press pause, it goes to Application.Run(), because the main
thread is sleeping, while the worker thread is going.

Zytan
Alberto Poblacion
4/26/2007 12:00:00 AM
[quoted text, click to view]

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.
Zytan
4/26/2007 7:59:50 AM
[quoted text, click to view]

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

Thanks!

Zytan

Zytan
4/26/2007 8:22:40 AM
[quoted text, click to view]

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

Zytan


Alberto Poblacion
4/26/2007 9:03:45 PM
[quoted text, click to view]

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.
AddThis Social Bookmark Button