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
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.