|
Last change
on this file since 280 was 2, checked in by Dmitry A. Kuminov, 17 years ago |
|
Initially imported qt-all-opensource-src-4.5.1 from Trolltech.
|
|
File size:
597 bytes
|
| Line | |
|---|
| 1 | name = "step";
|
|---|
| 2 |
|
|---|
| 3 | group = "running";
|
|---|
| 4 |
|
|---|
| 5 | shortDescription = "Step program until a new statement is reached";
|
|---|
| 6 |
|
|---|
| 7 | longDescription = "If a number N is given as argument, this will be done N times before execution is stopped.";
|
|---|
| 8 |
|
|---|
| 9 | aliases = [ "s" ];
|
|---|
| 10 |
|
|---|
| 11 | seeAlso = [ "next" ];
|
|---|
| 12 |
|
|---|
| 13 | function 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 |
|
|---|
| 25 | function handleResponse(resp) {
|
|---|
| 26 | }
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.