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

We Are Going To Discuss About IntelliJ IDEA: Breakpoint not being hit, and is shown without the tick, just a red dot. So lets Start this Java Article.

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

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

    Their documentation Describes the checkmark as “Shown at run-time when the breakpoint is
    recognized by the debugger as set on an
    executable code line.”

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

    Their documentation Describes the checkmark as “Shown at run-time when the breakpoint is
    recognized by the debugger as set on an
    executable code line.”

Solution 1

Did some searching through IntelliJ Help PDF:
Help Doc pg. 431

Their documentation Describes the checkmark as “Shown at run-time when the breakpoint is
recognized by the debugger as set on an
executable code line.”

and the regular red dot as “Shown at design-time or during the debugging
session when the class with such breakpoint is
not yet loaded.

So it would seem that the line you’re adding the breaking point to never gets executed. You can try stepping up line by line through the class to make sure the class is not getting hung up somewhere.

Hope this helps

Original Author Kedar Brooks Of This Content

Solution 2

I made a n00b mistake on the IDE. Instead of hitting the debug button, I thought it would work the same as visual studio or eclipse in that I’d have to use the run button, yet when I hit the debug button (That looks like an actual bug) my break-point hit just fine.

Original Author Sizons Of This Content

Solution 3

I get this same issue intermittently from time to time, I always run the latest version of IDEA. The break points are shown as red but without a tick inside them. Even after I rebuild or re-run in debug they do not get a tick, and they do not “work”, i.e., the code continues. I resolve by restarting IDEA, then restarting the debugger/debug run config.

Original Author MattG Of This Content

Solution 4

The same happened with me on Mac machine. I followed these steps and all worked fine:

  1. Stop server.
  2. Close all intellij projects.
  3. Open only the specific intellij project on which my application needs to run.
  4. Start the server in debug mode.

Original Author KayV Of This Content

Conclusion

So This is all About This Tutorial. Hope This Tutorial Helped You. Thank You.

Also Read,

Siddharth

I am an Information Technology Engineer. I have Completed my MCA And I have 4 Year Plus Experience, I am a web developer with knowledge of multiple back-end platforms Like PHP, Node.js, Python and frontend JavaScript frameworks Like Angular, React, and Vue.

Leave a Comment