ios-jsc icon indicating copy to clipboard operation
ios-jsc copied to clipboard

Jump to the nearest JS frame when a JS error from FFICallback is thrown

Open jasssonpet opened this issue 10 years ago • 0 comments

This would allow us to catch JS errors across native boundaries.

For example:

|-- bootstrap.js code (try block)
|-- [native code - e.g. UIApplicationMain] (unwind this frame)
|-- applicationDidFinishLaunchingWithOptions (error is thrown)

We should research how the application lifetime will be impacted by such interventions.

Possible solutions:

jasssonpet avatar Apr 09 '15 13:04 jasssonpet