kstenerud/KSCrash

How to only enable KSCrashMonitorTypeNSException?

zziazm opened this issue · 0 comments

zziazm commented

I want to only enable KSCrashMonitorTypeNSException and disable other KSCrashMonitorType,I Wrote the following code

KSCrashInstallationStandard* standard = [KSCrashInstallationStandard sharedInstance];
[KSCrash sharedInstance].monitoring = KSCrashMonitorTypeMachException;
[standard install];

but above codes seem does not take effect.
How to only enable KSCrashMonitorTypeNSException?