Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Xcode breakpoints: dotted blue outline

I'm attempting to debug some code in Xcode. When I enable a breakpoint in the Xcode file's gutter, it shows up as a dotted line outline of the normal breakpoint:

Xcode breakpoint dotted line

I can't enable the breakpoint; it's either disabled or dotted.

What is the meaning of a dashed line Xcode breakpoint? Why can't I enable it?

like image 599
pkamb Avatar asked Dec 18 '25 02:12

pkamb


1 Answers

If you hover over such a disabled breakpoint, it will display:

Xcode won't pause at this breakpoint because it has not been resolved. Resolving it requires that:

  • The line at the breakpoint is compiled.
  • The compiler generates debug information that is not stripped out (check the Build Settings).
  • The library for the breakpoint is loaded.
like image 195
Reinhard Männer Avatar answered Dec 20 '25 16:12

Reinhard Männer