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>
ve never found a way to debug JS code thats embedded within a non .js file (JSP, HTML, etc.), so I`d be very keen to hear any solution to this problem