KSCrash
KSCrash copied to clipboard
How to debug KSCrash in XCode?
I want to know how KSCrash works when a mach exception happened, especially how to get call stack, so I need to set breakpoints in KSCrash.
@yuzhiyunAtTencent You can debuge KSCrash through KSLogger.Have a look at KSLogger.h.
@yuzhiyunAtTencent Have you solved your problem? It seems that none of the demos he provided have the function of capturing logs
You need to modify both lldb and KSCrash. As lldb handles mach exceptions without any options provided to users and kscrash forbiddens almost all crash log when traced (by lldb when you debug).
@Folobe26 Thank you, because of your tip, my problem is solved.
@Folobe26 Thank you, because of your tip, my problem is solved.
how to do that, with Xcode I can not make breakpoint in
static void handleException(NSException* exception, BOOL currentSnapshotUserReported)
, Thanks
I want to know how KSCrash works when a mach exception happened, especially how to get call stack, so I need to set breakpoints in KSCrash.
have you resolved the problem? , please help me,I don't know to make breakpoint in KSCrash
I want to know how KSCrash works when a mach exception happened, especially how to get call stack, so I need to set breakpoints in KSCrash.
have you resolved the problem? , please help me,I don't know to make breakpoint in KSCrash
+1,how to debug KSCrash by breakpoint