I wonder how to debug multi-threaded programs
effectively.
What I've done so far:
- I read some
gdb
reference, but all of them talk little aboutmulti-thread
debuging.- I used
gdb
to debug my c++ programs.- linux thread reference
What's your tricks to share?
Skills
1>
Understand the code structure well.2>
Debug thread by thread.3>
In terms of exact time-stamps implemented.
PS: The approch still cannot solve my problem.