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?
To solve this, simply remove the jar of the debugged module from all modules' dependencies in the Project Structure. If you do not know which modules have the debugged module jar as dependencies, you can use some tools (Eg. Sublime Text, bash, ...) to search for the module name which is stored in Intellij *.
To do this, go to Settings/Preferences | Build, Execution, Deployment | Debugger and select Drag to the editor or click with middle mouse button. Clicking a breakpoint will then enable or disable it.
To set a breakpoint in source code, click in the far left margin next to a line of code. You can also select the line and press F9, select Debug > Toggle Breakpoint, or right-click and select Breakpoint > Insert breakpoint.
Invalid breakpoint FollowIntelliJ somehow thinks that the source is out of sync with the class file.
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:
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With