0

I don't know what I did wrong, but Firebug no longer shows JS errors in 'Errors' pane on 'Console'.

For instance, if my page has a form with a 'onsubmit=checkData()', if the function checkData() has JS errors, firebug doesn't show it and the form simply is submitted anyway.

How can I make Firebug show errors again? It always worked well until yesterday.

I already tried to click on the 'Pause' button with no success.

Thanks in advance!

3
  • 1
    Make sure that "All" is selected in the row of choices on the "Console" tab. Commented Dec 11, 2013 at 16:57
  • Selecting 'All' or 'Erros' has the same result, no JS errors is show. Commented Dec 11, 2013 at 17:01
  • wrap the body of checkData in a try/catch. In your catch(e), console.log(e); and return false Commented Dec 11, 2013 at 17:02

1 Answer 1

1

Whenever you use an event handler use a try catch block as errors tend not to be logged in that situation.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.