I have a few questions regarding the following javascript stacktrace.
at
mean? i.e. at angular.js:63
: why is it not referring to a function/method call like the other lines?angular.js
at line 63 you will see the statement that threw the exception.Correct. For example the Scope.$apply
function makes a call to Scope.$eval
and Scope.$eval
calls a function called callback
, etc.
Chrome uses v8 engine to work on JavaScript. So, I am quoting the following link for answer - https://code.google.com/p/v8-wiki/wiki/JavaScriptStackTraceApi
I am not sure about answer to this question.
The first line tells us the location where the error occurred. With framework like angular, it could be deep inside the framework it need not be user code.
Yes it is bottom up, i.e. from the point where the error occurred to upwards towards the caller, in this case to a jQuery event dispatch.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With