Login Register

JavaScript Function Call Stack Trace

Hi All,
I am currently usinf FireBug plug in for FireFox and I find it very useful... However, FireBug doesn't seem to be able to provide the Stack Trace. So I eventually get the method causing the problem, but I get no info on which methods were called before the call to this method was made. Thank you in advance :)

Regards,
Yazad Khambata

Are you using the Profile

Are you using the Profile and/or the debugger tool in firebug?

While the profile won't give you a full stack trace, it'll list all the functions that are called which helps track things down. The debugger will let you step through the code. You'll just need to add the breakpoint before your target method is called.

it also helps to use the uncompressed versions of dojo when debugging.

http://getfirebug.com/js.html