断点多线程应用程序 [英] 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 ?
推荐答案
它将停止所有线程.
通常不可能仅停止一个线程.有关使用GDB调试线程的更多信息,请参见这部分.
It is not normally possible to just stop one thread. For more information on debugging threads with GDB see this part of the manual.
这篇关于断点多线程应用程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文