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 gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

specialized debug tool?

Status
Not open for further replies.

BeanDog

Programmer
Jul 15, 2000
60
US
Does anyone know of a debug tool that does this?

I would really like to have a listing of each line of my code that has been hit by each of my running threads. Imagine the usefulness. I hit a deadlock once in a while, and I can't even figure out where it stopped, so it's difficult to solve the problem. If I could get a listing of what code was executed right up until the problem statement, it would be wonderful.



~BenDilts( void );
 
You can always break into the debuger and look at the call stack. (Remember to enable COFF --- under the Options->Debug tab --- to see the "aproximate" location of the calls).
 
Thanks for the advice, but please only post if you can answer the question. The debugger may not break in the thread that has hung, in fact it is unlikely to if the other threads are still running.



~BenDilts( void );
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top