Capturing Runtime errors on the device

I would like to have a terminal-like interface on my game to help support reporting of issues. I have reimplemented the print() function and the interface works fine for print statements. However, Runtime errors do not appear to use print() or error() (I have reimplemented both). It seems that the Runtime errors are being printed to the simulator terminal via the native layer with no notification to the Lua layer.

Is there a way to capture the Lua Runtime errors within Lua or be notified when one occurs?

A search of the site reveals that this might be possible with an Enterprise license, but I would prefer not to go that far.

Thanks,
Mike [import]uid: 101075 topic_id: 29768 reply_id: 329768[/import]

I have managed to get lua errors printed in the log in Xcode - when running my app connected with the usb cable.

Joakim [import]uid: 81188 topic_id: 29768 reply_id: 119450[/import]

I would like to capture the runtime errors while disconnected from Xcode or Eclipse since it is a beta tester’s phone.

Any thoughts to do this? [import]uid: 101075 topic_id: 29768 reply_id: 119460[/import]

As far as I know there isn’t a way but I did subscribe to this thread in case I’m wrong. It would be super handy to be able to do this. [import]uid: 147305 topic_id: 29768 reply_id: 119461[/import]