1

Firebug looks not capable to check js syntax error...

Is there any good way to do that?

Currently I just wrote a js but the firebug didn't show any error but the functionality is totally broken.

2
  • Firebug can do that. also functionality is totally broken need not be related to syntax errors. If you think firebug is not pointing out at a specific error, can you post a screenshot? Commented Oct 21, 2010 at 5:40
  • sometime it also happens to me, you need to enable as Sarfraz said. Commented Oct 21, 2010 at 6:08

2 Answers 2

5

Firebug does do it. Make sure that you have JavaScript Console enabled, you can do so by clicking the Console dropdown and from their select Enabled. You need to press F12 key to open firebug and once you refresh the page, you will see any errors you have in your script in the firebug js console.

If you are using Firefox, you can also press Contr+Shift+J to open firefox's error dialog.

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

Comments

1

are you sure Firebug is turned on? If it's on, the little bug in the lower right is colored brown. if it's not on, the bug is gray.

also, I find that Web Inspector in Safari/Chrome is better.

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.