Does anyone know how to programmatically start a stack of function calls (backtrace) in javascript?
Is it even possible? if so, how?
Perhaps this page has an answer for you: http://eriwen.com/javascript/js-stack-trace/
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
console.trace()