How to effectively remove all breakpoints in Andro

2019-04-03 09:32发布

问题:

I tried various steps to remove breakpoints from Android Studio . One of them listed in question BreakPoint link

I followed this but , still there are some green colored with red circle remaining , what are those as seen in image below and how to remove those effectively.

回答1:

Click on red icon which is below to stop debug. you will see a window there you can remove all breakpoints.



回答2:

First, click on debug tab and you see a screen like this:-

Now you will see a window like this:-

From this screen you can remove breakpoints by clicking (-) button. To remove all break point first select Java Line break Point option and then click (-).



回答3:

In debug option there is button disable break point button this will disable all break point



回答4:

Step 1: ctrl+shift+F8
Step 2: ctrl+A
Step 3: Click delete or Alt+delete
Step 4: done


回答5:

My SOP:

  • select Favorites from the left hand edge of the screen;
  • expandBreakpoints
  • select those you wish to remove
  • press delete or the - button (located at the bottom of the window)

Alternative:

⌘ ⇧ F8 (Mac) or Ctrl ⇧ F8 (Windows) brings up the breakpoint dialog. Highlight the breakpoints you want to remove and press the - button.



回答6:

Pressing ctrl+shift+F8 will pop up the Breakpoints window and then you can disable/enable all break point by clicking the check box in the Java line Breakpoints Treeview



回答7:

Check this image for what it means:

Following the intellij docs it says:

  • To remove a breakpoint permanently, do one of the following:

    • On the main menu, choose Run | View Breakpoints or Ctrl+Shift+F8.
    • Select the desired break point and click - button

    • If all breakpoints from certain group need to be deleted:

      • Select the group on the left side of the widow and Press - or delete button