How to Integrate coffeecatch for more no of methods.
Closed this issue · 2 comments
ItsRajesh4uguys commented
Hello,
I have a large JNI project, which does lots of work for my android. I would like to integrate coffeecatch to identify the exact crash reason. But I don't want to use coffeetry and catch for every method. I would like to integrate this for globally. Can you please advise how can I achieve it?
Thanks
xroche commented
Unfortunately this isn't quite possible - you need to store the entry point context (sigsetjmp()) to be able to project the method.
(You may however ease a little nit the work, by using COFFEE_TRY_JNI())
ItsRajesh4uguys commented
Thanks for your message Xavier.