1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-14 11:24:58 +00:00
serenity/Userland/Libraries/LibJS/Tests/builtins/Error
Simon Wanner 68f4d21de2 LibJS: Lazily collect stack trace information
The previous implementation was calling `backtrace()` for every
function call, which is quite slow.

Instead, this implementation provides VM::stack_trace() which unwinds
the native stack, maps it through NativeExecutable::get_source_range
and combines it with source ranges from interpreted call frames.
2023-11-02 07:37:41 +01:00
..
Error.js LibJS: Implement the Error Cause proposal 2021-06-11 21:34:05 +01:00
Error.prototype.message.js LibJS: Add name and message properties to NativeError prototypes 2021-04-14 10:11:04 +02:00
Error.prototype.name.js LibJS: Add name and message properties to NativeError prototypes 2021-04-14 10:11:04 +02:00
Error.prototype.stack.js LibJS: Lazily collect stack trace information 2023-11-02 07:37:41 +01:00
Error.prototype.toString.js Libraries: Move to Userland/Libraries/ 2021-01-12 12:17:46 +01:00