123

Running JDK 1.7 on Mac OS X and suddenly breakpoints on my project are not working, and they are appearing greyed out. They were working earlier today, so not sure what I have done to cause this. I am using Intellij 13.1.3. Why would breakpoints stop working like this?

Grey, non-functioning breakpoint in Intellij 13

Mike Hogan
  • 9,933
  • 9
  • 41
  • 71

2 Answers2

319

Oh Gee - I just saw the "Mute Breakpoint" button in the debugger window. My mistake: picture below for the next person who might be as inattentive as me:

The mute breakpoint button

Mike Hogan
  • 9,933
  • 9
  • 41
  • 71
  • 41
    Took me a good half hour before I looked it up and found this page. Now I just feel stupid. Worst thing: cannot recall clicking the button in the first place. – PålOliver Jan 21 '15 at 13:37
  • Not even sure why you would want to be in debug mode and mute break points. – Scott McIntyre Nov 02 '16 at 15:02
  • 11
    Idea team should notify the user in a better way about this. How about a tooltip over the grey breakpoing saying "This breakpoint is muted. Unmute by ..." – eirirlar Aug 25 '17 at 07:30
  • 2
    I know I pressed the disable breakpoints button. I turned out to be the mute button. I would make this button gray just like the muted on really looks like that way your eye can catch that more easily. Sure now that made this mistake I will likely always know. But consistency in looks allows to match it a bit better to my opinion. At the end of the day - there is a reason why so many of us made this mistake. Stop red square is obvious, Green play button is awesome, this green bug is DeBug. But this one may need to be relooked at – Alexey Shevelyov Sep 13 '17 at 00:19
  • 2
    I am glad I looked it up after spending 10 minutes debugging the cause. would have wasted a good amount of time before realizing. – Ymartin Jul 13 '18 at 11:54
  • There are a lot of people "who might be as inattentive as me". Thanks a lot for the answer. – mithuntnt Dec 10 '19 at 11:26
  • 1
    @MikeHogan Thanks a lot for this question and answer including screenshot. Was struggling with this for 2 days.. Pooh :( – Priya May 28 '21 at 15:23
  • 1
    @MikeHogan I almost melt my brain trying to find out why my breakpoints stop working sundennly, thank you for this. – Jorge Diaz Feb 04 '22 at 19:46
2

Very easy to do with a touch bar and not realise. The icon on the touch bar is more obvious than the one in the debug panel.

Interlated
  • 5,108
  • 6
  • 48
  • 79