Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm using Google Chrome for debugging JavaScript. I opened up the JavaScript Console and the "Pause on Exception" feature is enabled. Now whenever I run JavaScript that has an exception in it, it pauses on the line with the exception. However, I can't find where it says what the exception is. I have to press continue script execution for the exception message to be displayed in the JavaScript console.

With every other debugger I have used, whenever the debugger stops on a line, it tells you what was wrong with the line (i.e. the error message is shown). It seems odd that you have to press "run" before you see the error message.

Am I doing anything wrong or is this the only way to see the error messages?

share|improve this question
Rather oddly, I don't think there is – Haqa Jun 29 '11 at 0:42
up vote 1 down vote accepted

After consulting many other resources, I've come to the conclusion that there isn't a way to change this behavior.

share|improve this answer
Have you tried viewing the call stack--'raise exception'--on the right-hand side of the script editor? – Wolfpack'08 Jul 19 '11 at 11:26
Wow. Just, wow. – Max Cantor Sep 18 '12 at 21:01

On the right side of the editor, under the section labeled "Scope Variables", an item should appear under the Local node named "<exception>", which represents the thrown exception object.

share|improve this answer

Recent versions of Chrome (I'm seeing it in 38) show the exception message underneath the stack trace:

stack trace

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.