Hey everyone,
Just a quick post on something useful I came across today. In JavaScript you can access the stack trace via console using the following command (ctrl + shift + j):
console.trace()
In Chrome, this will let you navigate to each relevant call by clicking the line number in the console window. I’ve found it pretty useful for backtracking through jQuery exceptions.
For more info, check out this Stackoverflow post: http://stackoverflow.com/q/6715571/522859
Leave a Reply