Harald K
Harald K

Reputation: 27054

IntelliJ: Is it possible to start debugger with breakpoints muted?

Is it possible to start the debugger in IntelliJ IDEA with all breakpoints muted? If so, how?

This would be very useful, as I'm developing a UI application that does a lot of initialization up front. I want to reach the initialized stage, before "un-muting" breakpoints, as there's just too much "noise" during start up, and I need to restart often in this phase of development.

I do not want to disable/enable breakpoints. I know it's possible to temporary mute the breakpoints and how to do it, but I'm asking how to start the debugger with breakpoints muted (if that is indeed possible).

I'm currently using IDEA 13, but I can't see any immediate changes since 12.

Upvotes: 3

Views: 1829

Answers (3)

jtonic
jtonic

Reputation: 639

Please vote for the following intellij idea feature.

http://youtrack.jetbrains.com/issue/IDEA-82961

Upvotes: 1

dbrown0708
dbrown0708

Reputation: 4754

In the Debug tool window, there's a button called Mute Breakpoints. It's on the left-hand side. It looks like a red circle with a slash going through it. JetBrains help.

Here's what it looks like:

enter image description here

You need to start the debugger first, then click that button. That will stop all breakpoints from triggering until you toggle this button back on.

Upvotes: 8

Sean Landsman
Sean Landsman

Reputation: 7179

You could try unchecking them all before starting the session:

Try: CTRL+SHIFT+F8 and deselecting the breakpoints you want to ignore

Once debugging you can open the breakpoint dialog again and select the ones you want to activate

Upvotes: 1

Related Questions