JJException icon indicating copy to clipboard operation
JJException copied to clipboard

Protect the objective-c application(保护App不闪退)

Results 39 JJException issues
Sort by recently updated
recently updated
newest added

**Describe the bug** ![image](https://github.com/jezzmemo/JJException/assets/7426040/289df035-f868-431a-85d5-294600b15ab4) ![image](https://github.com/jezzmemo/JJException/assets/7426040/26a63f3b-722e-4f4e-ae5d-8daef9bd3c1d) 我参考你的库,写了库到线上,发现线上有概率崩溃

您好,我们在使用JJException时,最近收到大量Out of Memory的崩溃信息,定位到NSMutableAttributedString+MutableAttributedStringHook.m文件中的113行:[self hookReplaceCharactersInRange:range withString:str]; 使用的版本是0.2.12版本

JJException SDK 版本 V0.2.13, ReactiveObjC 版本V3.1.1。项目加载 JJException 方式如下: ![image](https://user-images.githubusercontent.com/19367727/225823243-6b8aee95-681e-492e-ab85-9ba47a39f931.png) 当加上 JJExceptionGuardKVOCrash 选项后app 无法启动,移除后一切正常。最近buglly 里报了一个KVO的异常,信息如下: ![image](https://user-images.githubusercontent.com/19367727/225823550-1462d232-2e30-4833-b6ca-66a91758c4a0.png) 请问,项目中要怎么开启 KVO的防护?谢谢

项目中Swift语言使用YYModel时,由于客户端字段类型跟后端返回的数据类型不匹配导致的闪退问题,JJException是否能防护?

集成了保利威直播的SDK,多处调用[TimerObject fireTimer]时报错。 后来发现: 在 NSTimer+CleanTimer.m中 把 @property(nonatomic,readwrite,【weak】)id target 改成 【strong】可以避免, 但是【不确定】这样 是否会造成循环引用。

#### 报错文件 NSTimer+CleanTimer.m 错误定位代码 ``` - (void)fireTimer{ if (!self.target) { [self.timer invalidate]; self.timer = nil; handleCrashException(JJExceptionGuardNSTimer,[NSString stringWithFormat:@"Need invalidate timer from target:%@ method:%@",self.targetClassName,self.targetMethodName]); return; } if ([self.target respondsToSelector:self.selector]) { // Fix...

我通过leaks分析出来