intellij-2020

In intellij 2020.1, when I hit play in debugger, how to stop it from switching threads? (not duplicate)

限于喜欢 提交于 2020-08-20 11:29:29
问题 I perhaps was not clear enough in this question https://stackoverflow.com/questions/62958507/how-to-have-intellij-play-just-the-thread-i-am-debugging-like-eclipse-does so it was marked as duplicate of switching between threads in Intellij Idea but I did that and changed my breakpoint suspend policy to 'Thread'. This did not change the behavior at all so I am providing code now here. Here is my code for this test public class TestDebugger { private static final Logger log = LoggerFactory