rusty_v8 icon indicating copy to clipboard operation
rusty_v8 copied to clipboard

Better uncaught exception support

Open bnoordhuis opened this issue 4 years ago • 0 comments

Refs: https://github.com/denoland/deno/issues/4350

Exceptions thrown in microtask callbacks print an error message but no stacktrace and don't terminate the process.

Adding bindings for the following APIs should help with that:

  • v8::Isolate::SetAbortOnUncaughtExceptionCallback() (needs --abort_on_uncaught_exception)

  • ~~v8::Isolate::SetCaptureStackTraceForUncaughtExceptions()~~ - exists

bnoordhuis avatar Jan 08 '21 10:01 bnoordhuis