0
|
1 |
name = "next";
|
|
2 |
|
|
3 |
group = "running";
|
|
4 |
|
|
5 |
shortDescription = "Step program, proceeding through subroutine calls";
|
|
6 |
|
|
7 |
longDescription = "Like the \"step\" command as long as subroutine calls do not happen;";
|
|
8 |
longDescription += "\nwhen they do, the call is treated as one instruction.";
|
|
9 |
longDescription += "\nIf a number N is given as argument, this will be done N times before execution is stopped.";
|
|
10 |
aliases = [ "n" ];
|
|
11 |
|
|
12 |
seeAlso = [ "step", "continue", "finish", "advance" ];
|
|
13 |
|
|
14 |
function execute() {
|
|
15 |
var count = 1;
|
|
16 |
if (arguments.length != 0) {
|
|
17 |
var arg = arguments[0];
|
|
18 |
// ### evaluate the expression in the current frame?
|
|
19 |
var num = parseInt(arg);
|
|
20 |
if (!isNaN(num) && (num >= 1))
|
|
21 |
count = num;
|
|
22 |
}
|
|
23 |
scheduleStepOver(count);
|
|
24 |
};
|
|
25 |
|
|
26 |
function handleResponse(resp) {
|
|
27 |
}
|