When I debug the code in iOS Extension. I face some crash with EXC_BREAKPOINT
What did I do?
- Run my APP with Xcode 11.5.
- Start debugging for extension:
Debug
->Attach to Process by PID or name
->Input my Extension name and click Attach Button
- Setup some breakpoint in
Extension code
(Mine isUNNotificationServiceExtension
) - Minimize the APP.
- Push the notification.
- Trigger the breakpoint which I set.
- Continue to debug. Then I see this crash.
My question is how to debug extension in my case?