IntelliJ debugging: Suspend whole VM then step on single thread

前端 未结 3 1320
时光说笑
时光说笑 2021-02-09 18:14

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 Ov

相关标签:
3条回答
  • 2021-02-09 18:24

    NetBeans can resume individual threads. While in debug mode, you can resume a thread from the left thread list by pressing a small button shaped like Play (►) near the thread.

    0 讨论(0)
  • 2021-02-09 18:25

    Currently there's no such possibility because it may lead to deadlocks. You may vote for IDEA-43728 though.

    0 讨论(0)
  • 2021-02-09 18:43

    This feature was added in IntelliJ 16 (the issue CrazyCoder referenced in his answer was resolved)

    More details here:
    https://blog.jetbrains.com/idea/2016/02/intellij-idea-16-eap-improves-debugger-and-adds-git-worktree-support/

    0 讨论(0)
提交回复
热议问题