How to enable/disable all the breakpoints?

How to enable/disable all the breakpoints? If I hit the first breakpoint and I have several points, I don't want to keep hitting them one after the other so I need to disable them in one shot. I am not seeing any option to do this. 

1
7 comments

There is an Option to "Mute Breakpoints" which disables them all when active.

I believe the default combination is STRG+ALT+SHIFT + F10,
alternatively  SHIFT+ALT+A and type "mute".

2


I tried ctrl-alt-shift-F10 and nothing happened. I mean visually. The red circles are still solid. I am expecting hollow circles. What's the difference between muting and disabling breakpoints? Isn't there anything straightforward like Visual Studio's Enable All breakpoints and Disable All Breakpoints? I use them all the time and I am surprised I can't the equivalent in Rider.

0

Hi,

Can you disable all the breakpoints via the Breakpoints window (to open it use 'Run | View Breakpoints and Exception' menu or click the icon on the right-side toolbar in the debug tool window)?

Also, you can mute breakpoints via pressing  button on the debugger's toolbar. 
To assign a shortcut to this action, go to the settings page "Preferences | Keymap", find the "Mute Breakpoints action", right-click on it, select "Add Keyboard Shortcut", and press the necessary key combination.

The differences between those two actions are:

- mute state is saved until you reload your solution or reopen Rider;

- mute does not work with a single breakpoint (only with all at once);

- enable/disable - is a global setting that allows to work with breakpoints individually.

0

Muting works in the View Breakpoints and Exception menu. However, they are not working using the keyboard shortcuts. If I press alt-B or F6 in the text editor, the red circles are still solid. 

0

When you mute breakpoints via Mute action, the icon is not changed until you start the debugger session. It is a little confusing but should work.

https://youtrack.jetbrains.com/issue/IDEA-264924

0

The visual indicators change when muted from the menu outside of a debugger session while this doesn't happen when keyboard shortcuts are used which supposedly are doing exactly what the menu option does. This is a bug. I see you created a bug.

0

Yes, please feel free to upvote.

0

Please sign in to leave a comment.