I'm debugging and optimizing a page and have found that the js profiler in firebug is great, the only problem is that I've found the problem, however it's a call from the ajax class in my jQuery file, i'm wondering how I would backtrace it into my code. I'm super new to debugging/optimizing performance, so I'm sorry if this is an easy answer.
thanks, Brodie
asked Mar 12, 2012 at 16:43
Brodie
8,7979 gold badges38 silver badges55 bronze badges
1 Answer 1
you can put console.trace() statement into your function code and it will give you the trace of function calls in firebug
Reference:
answered Mar 12, 2012 at 17:30
Saket Patel
6,7031 gold badge29 silver badges36 bronze badges
Sign up to request clarification or add additional context in comments.
Comments
lang-js