matrix icon indicating copy to clipboard operation
matrix copied to clipboard

Android Matrix是不是不支持收集崩溃错误?

Open newCaoTao opened this issue 3 years ago • 1 comments

集成了matrix,app崩溃的时候listener返回的issue内容只有通用格式的数据,如下: image detail字段的值是LAG 请问这是崩溃的错误类型吗?

newCaoTao avatar Apr 16 '22 03:04 newCaoTao

还没仔细看源码,直接在源码目录全局搜 uncaughtexceptionhandler 没有找到跟 android 端相关的,感觉应该是没有实现。 我试过在主线程抛异常触发 Java 崩溃,虽然 listener 有回调,detail 也设置为 LAG,但是 threadStack 堆栈不正确,而且日志的TAG是“Matrix.AnrTracer”(也不准确),猜测可能是底层直接监听 signal 信号实现的(看 matrix LOG 打印时间比崩溃慢了接近 2秒),导致此时获取的 thread 堆栈不准确?

initialjie avatar Apr 18 '22 09:04 initialjie