Breakpoint a multi thread application
问题 What happens if I breakpoint a multi thread application. does it stop all the threads, just the one that is break pointed or does the whole program just crash ? If it is possible would I want to stop just one thread or would this mess up my application ? If I cannot break point a multi tread application what are the debug techniques available to me ? 回答1: It stops all threads. It is not normally possible to just stop one thread. For more information on debugging threads with GDB see this part