Hi,
The hxcpp target is not really set up to work with native errors/signals, so there is no easy way.
You can add the define HXCPP_CHECK_POINTER, which will explicitly check for NULL on a lot of places. (This is always on in debug mode)
You can also set the critical error handler, __hxcpp_set_critical_error_handler, like:
untyped __global__.__hxcpp_set_critical_error_handler( function(err) { trace("Error : "+ err); throw err; } );
This will convert certain detectable error into exceptions that can be thrown/caught.
If you use a native debugger, you might be able to work out what is causing the crash and insert your own explicit check.
Hugh