stacktrace.js
stacktrace.js copied to clipboard
Only full anonymous stacktrace for IE9 in AMD code
We're using the latest dojotoolkit and running full AMD featured code.
If we'Re using stacktrace.js we noly get traces like:
{anonymous}(?),printStackTrace(#object),{anonymous}(#function),{anonymous}(#object,[#function]),{anonymous}(#object,undefined),{anonymous}(#object,undefined),{anonymous}(#object,undefined),{anonymous}(#object,undefined),{anonymous}(#object,undefined),{an {
0 : "{anonymous}(?)",
1 : "printStackTrace(#object)",
2 : "{anonymous}(#function)",
3 : "{anonymous}(#object,[#function])",
4 : "{anonymous}(#object,undefined)",
5 : "{anonymous}(#object,undefined)",
6 : "{anonymous}(#object,undefined)",
7 : "{anonymous}(#object,undefined)",
8 : "{anonymous}(#object,undefined)",
9 : "{anonymous}(#object,undefined)"
}
I assume that it has todo with the fact that AMD code is running on anonymously created factory functions within the calls to define.
Is there something I missed? {guess: true} does not help of course as nothing is included within the trace which is of use.
Working in all other environments like a charm.
Same here. +1 for this improvment.