Brad Kotsopoulos
Brad Kotsopoulos
Any suggestions on this?
+1, this is quite awkward without
Seems like everything is easy except obj-c. I don't think they have a boxed version of void. Do you need a boxed type? Maybe NSValue or a void* or something?...
> What getArg returns is an i32 value, which is a pointer to a C++ exception, which is returned by __cxa_allocate_exception in libc++abi. Great, as long as we can get...
> wasmException.getArg(instance.exports.tag, 0) Oh wow! This is exactly what I was looking for - this is what I was confused on. I didn't realize this was exported nicely or that...
> What getArg returns is an i32 value, which is a pointer to a C++ exception, which is returned by __cxa_allocate_exception in libc++abi. So the integer returned is an offset...
So there is a technique in the emscripten exception handling mechanism, where the c++ exception bubbles up from wasm to JS as a `number`, and JS catches it, and can...
CC @bhollis
That is awesome! I didn’t even realize the JS API existed. The main value I see with the header based API is for crashes. I imagine that if a browser...
I love that idea! We were thinking of building a custom UI to view these events that we infest on our server but sending right back to our sentry project...