mirror of
https://github.com/HeyPuter/firefox.git
synced 2026-11-26 04:22:30 -10:00
45 lines
952 B
HTML
45 lines
952 B
HTML
<html>
|
|
<head>
|
|
<script type="application/javascript;version=1.7"/>
|
|
let output;
|
|
|
|
function init() {
|
|
output = document.querySelector("input");
|
|
output.value = "";
|
|
}
|
|
|
|
function doit() {
|
|
debugger;
|
|
stepIntoMe(); // step in
|
|
|
|
output.value = "dbg continue";
|
|
debugger;
|
|
}
|
|
|
|
function stepIntoMe() {
|
|
output.value = "step in"; // step in
|
|
stepOverMe(); // step over
|
|
let x = 0; // step out
|
|
output.value = "step out";
|
|
}
|
|
|
|
function stepOverMe() {
|
|
output.value = "step over";
|
|
}
|
|
</script>
|
|
</head>
|
|
<body onload="init()">
|
|
<input type="text" value=""/>
|
|
<input type="button" value="DOIT" onclick="doit()"/>
|
|
<br />
|
|
Use this file to test the following commands:
|
|
<ul>
|
|
<li>dbg interrupt</li>
|
|
<li>dbg continue</li>
|
|
<li>dbg step over</li>
|
|
<li>dbg step in</li>
|
|
<li>dbg step out</li>
|
|
</ul>
|
|
</body>
|
|
</html>
|