-
Notifications
You must be signed in to change notification settings - Fork 279
Closed
Milestone
Description
Right now the different browsers return the individual entries in a different format, e.g. chrome it looks like
0: "Object.run (http://localhost:8080/resources/app.core.resources/stacktrace.js:75:14)"
1: "printStackTrace (http://localhost:8080/resources/app.core.resources/stacktrace.js:59:20)"
2: "Object.log (http://localhost:8080/resources/app.log.resources/log.js:96:13)"
3: "http://localhost:8080/resources/app.log.resources/log.js:128:7"
While the same code in firefox looks like
0 "{anonymous}()@http://localhost:8080/resources/app.log.resources/stacktrace.js:70"
1 "{anonymous}(null)@http://localhost:8080/resources/app.log.resources/stacktrace.js:68"
2 "printStackTrace()@http://localhost:8080/resources/app.log.resources/stacktrace.js:59"
3 "{anonymous}("Logging started")@http://localhost:8080/resources/app.log.resources/log.js:96"
4 "@http://localhost:8080/resources/app.log.resources/log.js:128"
Opera and other browser look yet different.
It might be useful if stacktrace.js entries would be full objects with members "function", "url", "line", "column". So one line of the above output would look like
entry = { function : 'printStackTrace', url : 'http://localhost:8080/resources/app.log.resources/log.js', line : 96, column: 12 }