source: trunk/src/scripttools/debugging/scripts/commands/next.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: 804 bytes
Line 
1name = "next";
2
3group = "running";
4
5shortDescription = "Step program, proceeding through subroutine calls";
6
7longDescription = "Like the \"step\" command as long as subroutine calls do not happen;";
8longDescription += "\nwhen they do, the call is treated as one instruction.";
9longDescription += "\nIf a number N is given as argument, this will be done N times before execution is stopped.";
10aliases = [ "n" ];
11
12seeAlso = [ "step", "continue", "finish", "advance" ];
13
14function 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
26function handleResponse(resp) {
27}
Note: See TracBrowser for help on using the repository browser.