-
Notifications
You must be signed in to change notification settings - Fork 152
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Add Error.prepareStackTrace
support
#134
Comments
Yep I'd like us to have it. The Frida fork also has an implementation, I'll take a look and see what the differences are. While we're at it it would be nice to add sourcemap support to the CLI :-) |
The Frida implementation: frida/quickjs@78fd25f |
Relevant implementation detail: V8 passes in a list of
|
Also somewhat related to this, is QuickJS's stack traces seem to not include column number information, which makes resolving source maps of minified files basically useless. Would be nice to rectify that, but I had no idea how to do so when I was digging through the code. |
#149 for column numbers. PR welcome if you're up for it :) |
Based on V8's API: https://v8.dev/docs/stack-trace-api. Bits picked from Frida: frida/quickjs@78fd25f Closes: #134
Based on V8's API: https://v8.dev/docs/stack-trace-api. Bits picked from Frida: frida/quickjs@78fd25f Closes: #134
Based on V8's API: https://v8.dev/docs/stack-trace-api. Bits picked from Frida: frida/quickjs@78fd25f Closes: #134
Based on V8's API: https://v8.dev/docs/stack-trace-api. Bits picked from Frida: frida/quickjs@78fd25f Closes: #134
Based on V8's API: https://v8.dev/docs/stack-trace-api. Bits picked from Frida: frida/quickjs@78fd25f Closes: quickjs-ng/quickjs#134
To enable support for stack traces within applications using QuickJS, it would be ideal to support some form of the non-standard
Error.prepareStackTrace
API.I have a fork of QuickJS where I am using this, you can re-use the implementation from there if desired: TooTallNate/quickjs@29339cc
The text was updated successfully, but these errors were encountered: