QuickBEAM.VM.Stacktrace (QuickBEAM v0.10.9)

Copy Markdown View Source

JS stack-trace capture and formatting: attaches stack to Error objects and supports Error.prepareStackTrace.

Summary

Functions

Attaches a JavaScript stack string to an error object.

Builds a JavaScript stack string from current VM frames.

Returns the current VM stacktrace frames.

Functions

attach_stack(error_obj, filter_fun \\ nil)

Attaches a JavaScript stack string to an error object.

build_stack(error_obj, filter_fun \\ nil)

Builds a JavaScript stack string from current VM frames.

current_frames(filter_fun \\ nil)

Returns the current VM stacktrace frames.