Skip to content
Discussion options

You must be logged in to vote

Hi @AnsisMalins,

I get an exception "The V8 runtime cannot perform the requested operation because a script exception is pending". So what is the script exception? Where is it? How do I obtain it? Where in ClearScript or V8 do I set a breakpoint to see that exception being "pended"?

Unfortunately, we don't have a simple answer for you. Depending on the context, that exception message could be misleading.

V8's C++ API uses maybe types for nearly all returned data. If a V8 API call returns an empty result, it could be for a number of reasons, including that the call failed due to a pending script exception.

There's no way to determine the exact cause. If a script exception is thrown, Clea…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by AnsisMalins
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants