whatwg/console

"The identifier of a function printed in a stack..."

benwinding opened this issue · 0 comments

https://console.spec.whatwg.org/commit-snapshots/b6cca580a31e6d8899a73c583e7ea1652c537850/#trace

The identifier of a function printed in a stack trace is implementation-dependant. It is also not guaranteed to be the same identifier that would be seen in new Error().stack.

Is it possible to retrieve the console.trace() output as a string? in our case Error.stack is incorrect, but console.trace() is correct.