Closed DanielAsher closed 7 years ago
Hi,
thanks for an incredible project - a real tour de force.
I have noticed that certain crashes in my application are not caught by Dotzu when run on device. Replacing this line with:
private func crashSigbart() { let a : Int? = nil _ = a! }
produces no crash report on restart.
Would someone be able to verify this?
many thanks,
Daniel
Thanks for reporting that. I will have a look. 👀
I googled around and found SIGTRAP being used in this line to trap null dereferences on device. More info here.
SIGTRAP
I implemented on my fork here and tested on device. It works!
Let me know if you'd like a PR.
@DanielAsher Thanks for your research. I would love a PR. 🍻
see #19
Hi,
thanks for an incredible project - a real tour de force.
I have noticed that certain crashes in my application are not caught by Dotzu when run on device. Replacing this line with:
produces no crash report on restart.
Would someone be able to verify this?
many thanks,
Daniel