josh
josh

Reputation: 15

Debugging with visual studio multi-threaded app

I am writing a threaded application.

I need a way to see the current active threads while debugging, I have tried to place a break point - but i only see the current running thread.

i need a way to inspect the other threads that are currently running as well. is there any tool/method i can use to do so ?

Upvotes: 1

Views: 68

Answers (2)

Mike
Mike

Reputation: 1172

you can use the built in Threads Window, while execution is at your selected break point you can open the threads window going to debug->Windows->Threads

it will give you extensive information on all open threads.

you can read all about it here http://msdn.microsoft.com/en-us/library/w15yf86f.aspx

Upvotes: 1

Hannes
Hannes

Reputation: 446

I like to use the VS thread window for this situations:

http://msdn.microsoft.com/en-US/en-en/library/ms164746%28v=vs.100%29.aspx

Upvotes: 0

Related Questions