source: trunk/src/scripttools/debugging/scripts/commands/step.qs@ 160

Last change on this file since 160 was 2, checked in by Dmitry A. Kuminov, 16 years ago

Initially imported qt-all-opensource-src-4.5.1 from Trolltech.

File size: 597 bytes
Line 
1name = "step";
2
3group = "running";
4
5shortDescription = "Step program until a new statement is reached";
6
7longDescription = "If a number N is given as argument, this will be done N times before execution is stopped.";
8
9aliases = [ "s" ];
10
11seeAlso = [ "next" ];
12
13function execute() {
14 var count = 1;
15 if (arguments.length != 0) {
16 var arg = arguments[0];
17 // ### evaluate the expression in the current frame?
18 var num = parseInt(arg);
19 if (!isNaN(num) && (num >= 1))
20 count = num;
21 }
22 scheduleStepInto(count);
23};
24
25function handleResponse(resp) {
26}
Note: See TracBrowser for help on using the repository browser.