Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Multithread debugging

Status
Not open for further replies.

abp

Programmer
Sep 14, 2000
134
0
0
FR

How do i debug a multithreaded program using MS VC++ 6.0 ?
Does it support multithreaded debugging ?

I am not able to debug a new thread in a program. The
debugger seems to be following the main thread.

Thanks
Anand ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Mail me at abpillai@excite.com if you want additional help. I dont promise that I can solve your problem, but I will try my best.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 
Debug your program as usual, and when you reach a break point, or otherwise break the program, say by pushing the "pause" like button in VC, go to the debug menu and select Threads... It will display all the threads running and where they are currently stopped, so you can switch from one to the next.

Good luck.

Vincent
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top