You can easily add Exception Breakpoint in Xcode. See below image:
More Related Contents:
- How to determine whether code is running in DEBUG / RELEASE build?
- How to attach debugger to iOS app after launch?
- Xcode debugger doesn’t print objects and shows nil, when they aren’t
- What does get-task-allow do in Xcode?
- iOS app testing. App installation failed. No code signature found [closed]
- Transport security has blocked a cleartext HTTP
- How to change the name of an iOS app?
- Getting current device language in iOS?
- Check if my app has a new version on AppStore
- Xcode: What is a target and scheme in plain language?
- How do you perform wireless debugging in Xcode 9 with iOS 11, Apple TV 4K, etc?
- How to export “fat” Cocoa Touch Framework (for Simulator and Device)?
- Logging data on device and retrieving the log
- Core Data – Failed to load optimized model at path
- Launch iOS simulator from Xcode and getting a black screen, followed by Xcode hanging and unable to stop tasks
- Xcode beta 6 iOS 8: Simulator not working
- After upgrading to xcode 9, cordova app won’t build, error 70, requires provisioning profile
- Xcode 8 “the aps-environment entitlement is missing from the app’s signature” on submit
- Xcode 6 iPhone Simulator Application Support location
- ld: framework not found Pods
- Changing text of UIButton programmatically swift
- How to change UIButton image in Swift
- Xcode 8.3 / Xcode 9.0 Refresh provisioning profile devices
- Take screenshots in the iOS simulator
- Build not visible in itunes connect
- Xcode Version 6.1 (6A1030) – Apple Mach O-Linker Error – Building
- Quitting app causes error “Message from debugger: Terminated due to signal 9”
- Xcode 6: can’t connect any IBOutlet to ViewController
- Building iOS applications using xcodebuild without codesign
- Can we detect whether a user left through the home button or lock button without listening to darwin notifications?