Where I can place global catch(...) in android cocos2dx project in order to able to collect all the cpp exceptions in my project?
I have a cocos2dx project for presentation display for android.
When my cpp code crashed I want to be able to catch all the exceptions and at least shutdown gracefuly.
(And at max - collect the logs and save them \ send to server).
I know that cpp exceptions can't go to JAVA on android. So I think solution can be, at first, to be able to catch all cpp exceptions. At windows I have main.cpp when I can place global
catch(...) like that:
but at android its different.
Maybe there is some good solution for such, I suppose, often problem?