Does anyone know how to get a functional call (backtrace) programmatically in javascript?

Does anyone know how to programmatically start a stack of function calls (backtrace) in javascript?

Is it even possible? if so, how?

+5
source share
2 answers

Perhaps this page has an answer for you: http://eriwen.com/javascript/js-stack-trace/

+4
source

This was not available at the time of the request, but now all modern web browsers support it console.trace(). Keep in mind that this feature is considered non-standard. More on this here: https://developer.mozilla.org/en-US/docs/Web/API/Console.trace

+7
source

All Articles