title: How can I get a JS stack trace without halting the script?
body: <p>If you <code>throw</code> in JavaScript, the thrown error will usually propagate to the <code>window.onerror</code> handler which can stop the further execution of a script. </p>
  
  <p>Is there any way to get a stack trace from within a function without causing this halting of execution? </p>