Skip to content

Instantly share code, notes, and snippets.

@niloc132
Created October 17, 2012 16:22
Show Gist options
  • Star 2 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save niloc132/3906501 to your computer and use it in GitHub Desktop.
Save niloc132/3906501 to your computer and use it in GitHub Desktop.
Make more premutations for both small builds and bigger builds with full stack traces. Just add debug=true to the querystring of app's url, reproduce the issue, and read the trace!
<set-property name="compiler.emulatedStack" value="true, false" />
<property-provider name="compiler.emulatedStack">
<![CDATA[return (location.search.indexOf("debug=true") != -1) ? "true" : "false";]]>
</property-provider>
<set-configuration-property name="compiler.emulatedStack.recordFileNames" value="true" />
<set-configuration-property name="compiler.emulatedStack.recordLineNumbers" value="true" />
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment