调试eclipse中的多个线程 [英] Debugging multiple threads in eclipse
本文介绍了调试eclipse中的多个线程的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
解决方案
在新线程的运行方法中放置一个断点。线程启动后会停止执行。
In a method I am debugging, I am spawning a new thread. I need to debug the execution of this new thread rather than the parent thread. How can I do this in eclipse?
解决方案
Put a breakpoint on "run" method of the new thread. That would halt execution once the thread starts.
这篇关于调试eclipse中的多个线程的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文