Xcode Breakpoints 101
<p>The simplest definition would say a <em>breakpoint</em> is a marker in your code to intentionally pause your app if the code is encountered at runtime. If you just click on the gutter to add one in Xcode, that’s true. However, breakpoints are capable of much more.</p>
<p>Looking at breakpoints from a much broader view, they represent a mechanism to gather runtime information to match against their condition. If this condition is met, they execute an action, or if none is configured, pause the running app.</p>
<p>The main advantage of how Xcode (and any IDE/editor I know) handles breakpoints is that you don’t have to predefine them before running your code. They can be added, enabled, disabled, and edited before and after you start your app.</p>
<p><a href="https://blog.stackademic.com/xcode-breakpoints-101-39752aafa270"><strong>Click Here</strong></a></p>