Quantcast
Channel: Cocos Forums - Latest topics
Viewing all articles
Browse latest Browse all 17093

Catch all cpp exceptions from app

$
0
0

@owlet wrote:

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?

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 17093

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>