Optional
context: CpuContextCPU context to use for generating the backtrace.
Optional
backtracer: BacktracerThe kind of backtracer to use. Must be either
Backtracer.FUZZY
or Backtracer.ACCURATE
,
where the latter is the default if not specified.
Generated using TypeDoc
Generates a backtrace for the given thread's
context
.If you call this from Interceptor's
onEnter
oronLeave
callbacks you should providethis.context
for the optionalcontext
argument, as it will give you a more accurate backtrace. Omittingcontext
means the backtrace will be generated from the current stack location, which may not give you a very good backtrace due to the JavaScript VM's potentially JITed stack frames.