I’m working on a rather huge Firefox extension that uses a lot of HTML and jQuery loaded into a XUL window. Is there some way of augmenting the error console in Firefox to show full stack traces instead of just the file and line where something went wrong?
Share
No, unfortunately the Error Console won’t show stacks. You can use the following work-around:
You most likely want to use this code only when debugging – it’s a pretty ugly approach to use in production and you cannot avoid losing information about the exception.