Next: , Previous: Interactive query commands, Up: Debugger commands   [Contents][Index]


7.10.2 Forward movement commands


step [-NSans] [num]

Steps forward num events. If this command is given at event cur, continues execution until event cur + num. The default value of num is 1.


The options ‘-n’ or ‘--none’, ‘-s’ or ‘--some’, ‘-a’ or ‘--all’ specify the print level to use for the duration of the command, while the options ‘-S’ or ‘--strict’ and ‘-N’ or ‘--nostrict’ specify the strictness of the command.


By default, this command is not strict, and it uses the default print level.


A command line containing only a number num is interpreted as if it were ‘step num’.


An empty command line is interpreted as ‘step 1’.


goto [-NSans] num

Continues execution until the program reaches event number num. If the current event number is larger than num, it reports an error.


The options ‘-n’ or ‘--none’, ‘-s’ or ‘--some’, ‘-a’ or ‘--all’ specify the print level to use for the duration of the command, while the options ‘-S’ or ‘--strict’ and ‘-N’ or ‘--nostrict’ specify the strictness of the command.


By default, this command is strict, and it uses the default print level.


next [-NSans] [num]

Continues execution until it reaches the next event of the num’th ancestor of the call to which the current event refers. The default value of num is zero, which means skipping to the next event of the current call. Reports an error if execution is already at the end of the specified call.


The options ‘-n’ or ‘--none’, ‘-s’ or ‘--some’, ‘-a’ or ‘--all’ specify the print level to use for the duration of the command, while the options ‘-S’ or ‘--strict’ and ‘-N’ or ‘--nostrict’ specify the strictness of the command.


By default, this command is strict, and it uses the default print level.


finish [-NSans]
finish [-NSans] num
finish [-NSans] (‘clentry’|‘clique’)
finish [-NSans] ‘clparent

If invoked without arguments, continues execution until it reaches a final (EXIT, FAIL or EXCP) port of the current call. If invoked with the number num as argument, continues execution until it reaches a final port of the num’th ancestor of the call to which the current event refers. If invoked with the argument ‘clentry’ or ‘clique’, continues execution until it reaches a final port of the call that first entered into the clique of recursive calls of which the current call is a part. (If the current call is not recursive or mutually recursive with any other currently active call, it will skip to the end of the current call.) If the command is given the argument ‘clparent’, it skips to the end of the first call outside the current call’s clique. This will be the parent of the call that ‘finish clentry’ would finish.


If invoked as ‘finish clentry’, ‘finish clique’ or ‘finish clparent’, this command will report an error unless we have stack trace information about all of the current call’s ancestors.


Also reports an error if execution is already at the desired port.


The options ‘-n’ or ‘--none’, ‘-s’ or ‘--some’, ‘-a’ or ‘--all’ specify the print level to use for the duration of the command, while the options ‘-S’ or ‘--strict’ and ‘-N’ or ‘--nostrict’ specify the strictness of the command.


By default, this command is strict, and it uses the default print level.


exception [-NSans]

Continues the program until execution reaches an exception event. Reports an error if the current event is already an exception event.


The options ‘-n’ or ‘--none’, ‘-s’ or ‘--some’, ‘-a’ or ‘--all’ specify the print level to use for the duration of the command, while the options ‘-S’ or ‘--strict’ and ‘-N’ or ‘--nostrict’ specify the strictness of the command.


By default, this command is strict, and it uses the default print level.


return [-NSans]

Continues the program until the program finished returning, i.e. until it reaches a port other than EXIT. Reports an error if the current event already refers to such a port.


The options ‘-n’ or ‘--none’, ‘-s’ or ‘--some’, ‘-a’ or ‘--all’ specify the print level to use for the duration of the command, while the options ‘-S’ or ‘--strict’ and ‘-N’ or ‘--nostrict’ specify the strictness of the command.


By default, this command is strict, and it uses the default print level.


user [-NSans]

Continues the program until the next user defined event.


The options ‘-n’ or ‘--none’, ‘-s’ or ‘--some’, ‘-a’ or ‘--all’ specify the print level to use for the duration of the command, while the options ‘-S’ or ‘--strict’ and ‘-N’ or ‘--nostrict’ specify the strictness of the command.


By default, this command is strict, and it uses the default print level.


forward [-NSans]

Continues the program until the program resumes forward execution, i.e. until it reaches a port other than REDO or FAIL. Reports an error if the current event already refers to such a port.


The options ‘-n’ or ‘--none’, ‘-s’ or ‘--some’, ‘-a’ or ‘--all’ specify the print level to use for the duration of the command, while the options ‘-S’ or ‘--strict’ and ‘-N’ or ‘--nostrict’ specify the strictness of the command.


By default, this command is strict, and it uses the default print level.


mindepth [-NSans] depth

Continues the program until the program reaches an event whose depth is at least depth. Reports an error if the current event already refers to such a port.


The options ‘-n’ or ‘--none’, ‘-s’ or ‘--some’, ‘-a’ or ‘--all’ specify the print level to use for the duration of the command, while the options ‘-S’ or ‘--strict’ and ‘-N’ or ‘--nostrict’ specify the strictness of the command.


By default, this command is strict, and it uses the default print level.


maxdepth [-NSans] depth

Continues the program until the program reaches an event whose depth is at most depth. Reports an error if the current event already refers to such a port.


The options ‘-n’ or ‘--none’, ‘-s’ or ‘--some’, ‘-a’ or ‘--all’ specify the print level to use for the duration of the command, while the options ‘-S’ or ‘--strict’ and ‘-N’ or ‘--nostrict’ specify the strictness of the command.


By default, this command is strict, and it uses the default print level.


continue [-NSans]

Continues execution until it reaches the end of the program.


The options ‘-n’ or ‘--none’, ‘-s’ or ‘--some’, ‘-a’ or ‘--all’ specify the print level to use for the duration of the command, while the options ‘-S’ or ‘--strict’ and ‘-N’ or ‘--nostrict’ specify the strictness of the command.


By default, this command is not strict. The print level used by the command by default depends on the final strictness level: if the command is strict, it is ‘none’, otherwise it is ‘some’.



Next: , Previous: Interactive query commands, Up: Debugger commands   [Contents][Index]