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

Z

Zytan

Whenever I press pause, it goes to Application.Run(), because the main
thread is sleeping, while the worker thread is going.

Zytan
 
A

Alberto Poblacion

Zytan said:
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.
 
Z

Zytan

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
 
Z

Zytan

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
 
A

Alberto Poblacion

Zytan said:
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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top