StackWalker

StackWalker

StackWalker can compactify stack traces to remove codestrates internal traces, thus making them easier to read

Constructor

new StackWalker()

Source:

Classes

StackTrace

Methods

(static) compactify(stack) → {Array.<string>}

Description:
  • Given a full stack trace, produces a reduced stacktrace where only codestrate stack markers are used instead of every method invocation.
Source:
Parameters:
Name Type Description
stack Array.<string>
Returns:
The cleaned stack trace array
Type
Array.<string>