How to activate or deactivate breakpoints in XCode

Oscar de la Hera Gomez
Two flowers that represent Swift and XCode side by side. Beneath them sits the text “Activate or Deactivate Breakpoints”.

Open the breakpoint navigator or in the file that holds the breakpoint, click the relevant breakpoint to enable or disable it.

This tutorial assumes that you already have a breakpoint setup in XCode.

To learn how to add a breakpoint to XCode complete the tutorial below.

Step One: Find the Breakpoint

A screenshot of XCode highlighting that the Breakpoint Navigator icon  that appears on the left menu side bar has been selected and that there is one breakpoint active in the app. To open the breakpoint navigator, click this icon.

Open the file that holds the relevant breakpoint, or open the breakpoint navigator to view all breakpoints.

Step Two: Click the Breakpoint

A screenshot of Xcode highlighting how you can click a breakpoint in a file or in the breakpoints navigator to enable or disable it.

In the file or breakpoint navigator, click the breakpoint icon to enable or disable the breakpoint.

  • If it is enabled (active), it will initially be opaque and after clicking it it will become semi-transparent, indicating its disabled (deactivated).
  • If it is disabled (deactivated), it will initially be semi-transparent and after clicking it it will become opaque, indicating its enabled (active).
A screenshot of Xcode highlighting how after clicking the breakpoint in either the file or the breakpoint navigator, the breakpoint became semi transparent indicating that it is disabled (deactivated).

Any Questions?

We are actively looking for feedback on how to improve this resource. Please send us a note to inquiries@delasign.com with any thoughts or feedback you may have.
delasign logo

Book a Free Consultation.

An icon of an email.

Click here to email us.

Fill in the details below to book a free consultation or to let us know about something else. Whatever it is, we are here to help.

How can we help you ?

Contact Details