Can't trace runtime errors because of bundled js file


#1

Hey,

sometime i stumble over runtime errors. then i get for example the following error stack:

24    725285   group    EXCEPTION: Error: More tasks executed then were scheduled.
25    725289   error    EXCEPTION: Error: More tasks executed then were scheduled.
26    725300   error    STACKTRACE:
27    725304   error    Error: More tasks executed then were scheduled.
    at ZoneDelegate._updateTaskCount (http://192.168.178.102:8100/build/js/angular2-polyfills.js:398:24)
    at ZoneDelegate.invokeTask (http://192.168.178.102:8100/build/js/angular2-polyfills.js:369:27)
    at Zone.runTask (http://192.168.178.102:8100/build/js/angular2-polyfills.js:263:48)
    at ZoneTask.invoke (http://192.168.178.102:8100/build/js/angular2-polyfills.js:431:34)
  -------------   Elapsed: 3067 ms; At: Tue May 03 2016 13:42:02 GMT+0200 (CEST)   -------------
    at Object.Zone.longStackTraceZoneSpec.onScheduleTask (http://192.168.178.102:8100/build/js/angular2-polyfills.js:1354:23)
    at ZoneDelegate.scheduleTask (http://192.168.178.102:8100/build/js/angular2-polyfills.js:342:50)
    at Zone.scheduleMacroTask (http://192.168.178.102:8100/build/js/angular2-polyfills.js:283:40)
    at http://192.168.178.102:8100/build/js/angular2-polyfills.js:133:26
    at setTimeout (eval at createNamedFn (http://192.168.178.102:8100/build/js/angular2-polyfills.js:973:18), <anonymous>:3:37)
    at ToastCmp.onPageDidEnter (http://192.168.178.102:8100/build/js/app.bundle.js:62372:17)
    at ctrlFn (http://192.168.178.102:8100/build/js/app.bundle.js:53163:38)
    at Toast.ViewController.didEnter (http://192.168.178.102:8100/build/js/app.bundle.js:53110:9)
28    725313   groupEnd
29    725319   error    Uncaught Error: More tasks executed then were scheduled., http://192.168.178.102:8100/build/js/app.bundle.js, Line: 75685

somewhere down in the stack, i can see app.bundle.js:62372:17
but how can i know to which of my typescript files this error belongs to?


#2

This sounds like this issue

Please upgrade to beta 6


#3

hey, the error is the same, but i am asking a different question.

i like to find out, where exactly the error was raised.

for example: file myFile.ts:35:4

is that somehow possible?