IntelliJ调试:暂停整个虚拟机,然后单步执行 [英] IntelliJ debugging: Suspend whole VM then step on single thread
问题描述
当一个线程碰到一个断点时,我想使用Step Over。但是,这似乎恢复了整个虚拟机,直到完成这个步骤。
如果我只能单击打破断点的单个线程,那真的很有帮助。 >
在IntelliJ 11.1 / Java 6中有什么办法吗? (希望我没有缺少一些明显的东西...)
目前没有这样的可能性,因为它可能会导致死锁。您可以投票支持 IDEA-43728 。
I am debugging an application with lots of threads. My breakpoints are set to suspend the whole VM.
When a thread hits one of the breakpoints, I then want to use Step Over. But this appears to resume the whole VM, until that step completes.
It'd really help if I could step just the single thread that hit the breakpoint.
Is there any way to do this in IntelliJ 11.1 / Java 6? (Hope I'm not missing something obvious...)
Currently there's no such possibility because it may lead to deadlocks. You may vote for IDEA-43728 though.
这篇关于IntelliJ调试:暂停整个虚拟机,然后单步执行的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!