mirror of
https://bitbucket.org/smil3y/katie.git
synced 2025-02-24 10:52:56 +00:00

images are in PNG format for now but that is likely to change Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
26 lines
597 B
Text
26 lines
597 B
Text
name = "step";
|
|
|
|
group = "running";
|
|
|
|
shortDescription = "Step program until a new statement is reached";
|
|
|
|
longDescription = "If a number N is given as argument, this will be done N times before execution is stopped.";
|
|
|
|
aliases = [ "s" ];
|
|
|
|
seeAlso = [ "next" ];
|
|
|
|
function execute() {
|
|
var count = 1;
|
|
if (arguments.length != 0) {
|
|
var arg = arguments[0];
|
|
// ### evaluate the expression in the current frame?
|
|
var num = parseInt(arg);
|
|
if (!isNaN(num) && (num >= 1))
|
|
count = num;
|
|
}
|
|
scheduleStepInto(count);
|
|
};
|
|
|
|
function handleResponse(resp) {
|
|
}
|