Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How can I get a JavaScript stack trace in Firefox?

I ran an HTML file on Firefox and I want to debug it.

I pressed F12 and then I got a menu of Console/HTML/CSS/Script.

How I can find the stack of the program?

like image 647
user1365697 Avatar asked May 07 '12 14:05

user1365697


1 Answers

Detailed info on Firebugs Console API is here: http://getfirebug.com/wiki/index.php/Console_API#console.trace.28.29 the console.trace() function might be what youre looking for

like image 134
Chris Avatar answered Nov 01 '22 13:11

Chris