Xcode 13: Active breakpoint turns to an outline when app is run.

I'm working on several apps that were developed on Xcode 12.5. Using Xcode 13.1, I set a breakpoint, which correctly appears as the blue marker in the left-hand column of the editor. When I run the apps (in a simulator), the breakpoint turns to an outline of a breakpoint marker, with a dotted blue outline and a white interior. The apps do not stop at the breakpoint.

Breakpoints work as expected on an app started in Xcode 13.1.

I've dug through the docs but find nothing that describes what the outline breakpoint means or how to make it work. I've done all the standard stuff: cleaned the build folder, deleted derived data.

What does the outline breakpoint marker mean, and how do I get breakpoints working in Xcode 13.1 when debugging code developed originally on Xcode 12.5?

Thanks in advance for any help.

John

Answered by AJ_Underdog in 693527022

I just saw this happening too, then I realized that the code wasn't being called. Meaning once the app compiled and the compiler realized it was not possible for the breakpoint to ever hit it would turn to the dotted outline. At least that was the case for me.

I had the same issue with a breakpoint that wouldn't fire in viewDidAppear, even after calling super viewDidAppear. Xcode 15 15A240d

Cleaning the build, and rebuilding from scratch fixed it for me. I didn't have to delete derived data from settings.

  • Fixed this issue by doing below things
    1. I have changed the simulator
    2. I have closed the file where the breakpoints are not working and did the search for the file and opened the file and then applied the breakpoints and worked for me

Strange thing i have observed is when i have searched and open the same file opened twice. Thats means its kind of cahhse issue

Xcode 15 and still happening @eskimo

I have the same Issues. Sometime breakpoint in Package which is clearly Build and running will ne stopped. Prints works.

Sometimes autocompletion don't work too.

Strange problem since a few versions

Xcode 13: Active breakpoint turns to an outline when app is run.
 
 
Q