IntelliJ IDEA: Breakpoint not being hit, and is shown without the tick, just a red dot

后端 未结 10 500
北海茫月
北海茫月 2020-12-29 01:24

First of all, the most similar question that I found is this Intellij IDEA: Breakpoint not being hit, and is shown greyed out but that is not the exact same case.

I

10条回答
  •  天涯浪人
    2020-12-29 02:20

    I've encounter this problem a couple of times and its was due to a bug in my code; the IDE is not at fault. Breakpoints might not be hit due to various reasons like: not initializing objects, failing @BeforeEach methods etc. Try to take a step back and analyze your code and if any details are being missed out.

提交回复
热议问题