What do people use Venkman for?
"7stud" <[email protected]>
| Newsgroups | gmane.comp.mozilla.devel.jsdebugger |
|---|---|
| Message-ID | <[email protected]> |
I can't figure Venkman out. Here is a 4 line script I am trying to Step
Into:
1) <html>
2) <head>
3) <title>test</title>
4) <script type="text/javascript" language="javascript">
5) var a=1;
6) var b=5;
7) var c=10;
8) document.write("<div>" + (a+b) + "</div>");
9) </script>
</head>
<body>
</body>
</html>
When I click on Stop in Venkman and then reload a page with the above script
on it and nothing else, Venkman halts the execution at line 5. Then, when I
successively click on Step Into, these are the lines the debugger moves to:
5 (start) a, b, and c are undefined.
6 : a is 'void' and b, c are undefined.
7: a,b are 'void', c is undefined.
5: what the?? a,b,c are 'void'
6: a=1 and b,c are void
7: a=1, b=5, c is void
8: a=1, b=5, c=10
Is that what happens to you when you step through that simple script? Is
Venkman broken? How can anyone use this debugger if it exhibits that kind
of behavior?