title: How can I debug exception in eval code in metro style app
body: <p>I'm writing a Metro Style App in Visual Studio Express 2012 RC, my app works for a while, like 2-3 minutes and then suddenly it says</p>
  <blockquote>
  <p>Unhandled exception at line 49, column 1343 in eval code</p>
  <p>0x800a138f - JavaScript runtime error: Object expected</p>
  </blockquote>
  <p>and stops working and I don't know why. Here is the part of the eval code which causes the error:</p>
  <pre><code>var p=function(a){p.queue[bb]()(a)}
  </code></pre>
  <p>and it shows</p>
  <pre><code>p.queue[bb]()(a)
  </code></pre>
  <p>as highlighted.</p>
  <p>I know its hard to solve this problem by looking at this code, so how can I debug the eval code? It's dynamically created and cannot be edited.</p>