ios – Xcode stopped triggering breakpoints

0
4
ios – Xcode stopped triggering breakpoints


I used to be having a traditional working day debugging an UI difficulty with a working env on Xcode 16.2 on simulator 18.0 iphone professional 16… was capable of debug and breakpoints have been working nice… after a small UI adjustment in code i re-run the app and breakpoints stopped working “out of the blue”.

I already tried these steps:

1- clear construct

2- clear pods

3- clear cache

4- clear derived knowledge

5- clear userdata

6- a number of reboots

7- delete projcet folder and reclone it and set up from scratch

8- deleted simulator and recreated and tried on variations (17.5, 18.0, 18.1 and 18.2) that I by no means used earlier than

9- up to date to macOs 15.4

10- deleted my 2 xcode installations (16.2 and 16.0) and put in xcode 16.3 and xcode 16.0 and tried on each variations with a number of sim variations as effectively together with new 18.4

11- reinstalled xcode instruments

12- tried breakpoint in one other undertaking

13- checked all configuration talked about in stack overflow and all recommendations have been already in place. I disabled and re-enabled them to see if that fastened nevertheless it did not. (schema debug checks, code optimization disabled, no present disassembly, and so on.)

Solely factor that works is symbolic BP like UIViewAlertForUnsatisfiableConstraints this will get triggered however all different “regular” breakpoints are ignored.

I am additionally capable of manually inject breakpoints to the lldb immediate (by pausing the debug) like breakpoint set --name viewDidLoad and people breakpoints get triggered however not those in Xcode UI pointing to information or even when I set manually breakpoint set --file ViewController.swift --line 42 for instance I see it provides on Xcode UI nevertheless it would not set off.
I attempted beginning with out breakpoints and including them on the run; beginning with them enabled. and so on. and so on. all of the combos… nothing appears to work.
So debugger is connected. simply ignoring all my file breakpoints… How can I repair this?

breakpoints within the Breakpoints_v2.xcbkptlist file:



   
      
         
         
      
      
         
         
      
   

print of the breakpoint for reference:
breakpoint screenshot

LEAVE A REPLY

Please enter your comment!
Please enter your name here