How to enable a breakpoint when muting/disabling all other breakpoints?

I set up a keyboard shortcut to mute all the breakpoints. I want to enable a new breakpoint. When I create a new one, it's muted and it's never hit. I can't unmute it. Right clicking on it and toggling Enabled and Suspend executation doesn't make it enabled or unmuted.

All these options are confusing. I don't know what muted with Enabled on/off means. Or muted with Suspend execution on/off means. 
Different options which can mean the same thing. In Visual Studio, I can disable/enable all breakpoints or one at a time. 
A breakpoint is either enabled or disabled. There's no concept of muting. Simple enough.

How do I enable a breakpoint while all others are disabled or muted?

 

0

I tried to reproduce your issue by the following steps:

1. Use code 

public class Main {
    public static void main(String[] args) {
        {
            System.out.println("1");
            System.out.println("2");
        }
    }
}

 

2. Add a breakpoint on line System.out.println("1");

3. Call an an action “Debugger: Mute breakpoints” (pressed `Shift+Shift`, then typed "Debugger: Mute breakpoints" and clicked the switcher to turn on)

4. Added  a breakpoint on line System.out.println("2");

5. Unmuted all breakpoints (pressed `Shift+Shift`, then typed "Debugger: Mute breakpoints" and clicked the switcher to turn off)

Result:

The second breakpoint acted as usual.

 

Can you please correct my steps to reproduce? Probably, you call some other action for 3 and 5. I would appreciate a screencast with an explanation, please record it with “View | Appearance | Presentation assistant” option turned on.

0

Your process seems complicated. I prefer not to type anything.

The video captrue shows 3 breakpoints. I press F2 which is mapped to Mute breakpoints to mute all the breakpopnts. The red circles turn to white indicating they're muted. Then I want to create a new breakpoint on line 119. That's the only active breakpoint I want in the app. I click in gutter to create it and it shows as white. Muted. How do I create a new active breakpoint while all the other ones are muted? No typing.

 

How do I attach a file in the comment??

 

0

Please upload the video to https://uploads.jetbrains.com/  and share the Upload ID

As you may have a custom keymap, I replaced a hotkey (keymap-dependent) by action calling (pressed `Shift+Shift`, then typed “Debugger: Mute breakpoints”, keymap-independent). Please make sure that you use Presentation Assistant (“View | Appearance | Presentation assistant”) during screen recording, so your pressed shortcuts are a part of the video.
 

0

请先登录再写评论。