You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Go over stepping code and RsT help; remove dup step fn.
* Remove "set force".
* Clean up hanoi.sh example program
Some work towards adding a "return" statement. ksh might have a bug here though.
Execute the current line, stopping at the next event.
10
10
11
11
With an integer argument, step that many times.
12
12
13
-
*event* is list of an event name which is one of: `call`,
14
-
`return`, `line`, `exception` `c-call`, `c-return` or `c-exception`.
15
-
If specified, only those stepping events will be considered. If no
16
-
list of event names is given, then any event triggers a stop when the
17
-
count is 0.
18
-
19
-
There is however another way to specify a *single* event, by
20
-
suffixing one of the symbols `<`, `>`, or `!` after the command or on
21
-
an alias of that. A suffix of `+` on a command or an alias forces a
22
-
move to another line, while a suffix of `-` disables this requirement.
23
-
A suffix of `>` will continue until the next call. (`finish` will run
24
-
run until the return for that call.)
13
+
You can Set an event, by suffixing one of the symbols `+`, `-`,
14
+
or after the command or on an alias of that. A suffix of `+` on a
15
+
command or an alias forces a move to another line, while a suffix of
16
+
`-` disables this requirement.
25
17
26
18
If no suffix is given, the debugger setting `different-line`
27
19
determines this behavior.
@@ -34,11 +26,9 @@ Examples:
34
26
step # step 1 event, *any* event
35
27
step 1 # same as above
36
28
step 5/5+0 # same as above
37
-
step line # step only line events
38
-
step call # step only call events
39
-
step> # same as above
40
-
step call line # Step line *and* call events
29
+
step+
30
+
step-
41
31
42
32
.. seealso::
43
33
44
-
:ref:`next <next>` command. :ref:`skip <skip>`, :ref:`jump <jump>` (there's no `hop` yet), :ref:`continue <continue>`, and :ref:`finish <finish>` provide other ways to progress execution.
34
+
:ref:`next <next>` command. :ref:`skip <skip>`, and :ref:`continue <continue>` provide other ways to progress execution.
0 commit comments