Xcode Breakpoints Improve Your Debugging with Better
<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>
<h2>Xcode Breakpoint Options</h2>
<p>If you click on the gutter, a blue breakpoint marker gets added to it at the line you clicked. Right-clicking this marker reveals the possible options, like editing, disabling, and deleting, but for now, a double-click opens the edit popover</p>
<p><a href="https://blog.stackademic.com/xcode-breakpoints-101-39752aafa270">Learn More :-</a></p>