Closed davinci-tech closed 6 months ago
Thanks a lot! (And apologies for the delay.)
I've applied some style tweaks and started tinkering with a new API for Thread.backtrace()
, where the second argument is an object with options. In this way we can add further options, like this one, and the code is a bit easier to read.
This feature also needs a test, so will try to do that early next week, and get this landed.
This is amazing! Thank you very much!
This commit attempts to add a new parameter to the
Thread.backtrace()
method calledlimit
, which, under-the-hood, uses thegum_backtracer_generate_with_limit
method to create a custom-length backtrace. This change affects the gumjs bindings for both the v8 and quickjs runtimes.