title: Determining why execScript throws an error
body: <p>I'm working on an ExtJS application, and there is a compatibility problem with Internet Explorer. The app breaks and throws an error corresponding to this line of code :</p>
  
  <pre><code>execScript(code);
  </code></pre>
  
  <p>Using IE Developer Tools, I found out the code variable contains the class declaration for a custom-made component. I have no idea what is causing this error. I have checked this file 3 times already (1400 lines of code). For the record, this works perfectly on Firefox and Chrome...</p>
  
  <p>So, I was wondering if there was a way of knowing more about what went wrong, and get like a line number, or a stack trace, so I can correct this.</p>
  
  <p>Any help appreciated. Thanks !</p>