I cannot seem to debug my JavaScript code with Firebug. The play button is greyed out. I use FireFox 3.0.4 and Firebug 1.2.1.
Are there any known issues?
This is the script I want to debug:
(breakpoints set on <img onclick> and function say()), the code executes well.
<html> <head> <meta http-equiv='Content-Type' content='text/html; charset=UTF-8'/> <script type='text/javascript' src='jquery/jquery-1.2.6'></script> <script type='text/javascript'> function say(text){ alert(text); } </script> <title>DOM Level 0 Event Handlers</title> </head> <body> <img onclick='say('Vroom vroom');' id='vstar' src='vstar.jpg' alt='vstar' /> <div id='console'></div> </body> </html>
Check if you have ‘support for script debugging’ enabled in Console. Its disabled by default for performance reasons.