Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to Integrate coffeecatch for more no of methods. #6

Closed
ItsRajesh4uguys opened this issue Jul 29, 2014 · 2 comments
Closed

How to Integrate coffeecatch for more no of methods. #6

ItsRajesh4uguys opened this issue Jul 29, 2014 · 2 comments

Comments

@ItsRajesh4uguys
Copy link

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

@ItsRajesh4uguys ItsRajesh4uguys changed the title How to Integrate coffeecatch for hundreds of method. How to Integrate coffeecatch for more no of methods. Jul 29, 2014
@xroche
Copy link
Owner

xroche commented Jul 29, 2014

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
Copy link
Author

Thanks for your message Xavier.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants