Xcode 8 Breakpoint in file not working

前端 未结 11 681
Happy的楠姐
Happy的楠姐 2020-12-31 00:42

I have one file,SignInViewController.swift, in my Xcode project that out of nowhere has begun not stopping on breakpoints. I have a breakpoint in viewDidL

11条回答
  •  旧巷少年郎
    2020-12-31 01:17

    Sometimes the values may have changed in Xcode userdefaults itself, At times, I had similar issue with debugger stopping at stacktrace Few ways to clear this

    1.Delete the Xcode preference
    defaults delete com.apple.dt.Xcode
    

    Other Issue could be the optimization level for the target, changing it to none will stop at the debugger

提交回复
热议问题