Is there a way to get Firefox's built-in browser console to display (or make available somehow) a complete stack trace for every error? In debugging extension code, I encounter numerous errors like "blah.blah is not a function", but without a full stack trace, I can't find out what code path led to that call.
Please note that I'm asking about the facilities built into recent versions of Firefox: in this case the browser console and "browser toolbox" (which includes a debugger, etc.). If there's a way to do this with Firebug or the like, that's great, but I'm specifically wondering here if it can be done using only the builtin tools. Also note that I'm asking about chrome code (i.e., extension code), not web page scripts (although knowing how to do it for web page scripts would also be useful info in general).