Finish (step out)ΒΆ

finish [level]

Continue execution until leaving the current function. When level is specified, that many frame levels need to be popped. Note that yield and exceptions raised my reduce the number of stack frames. Also, if a thread is switched, we stop ignoring levels.

See the break command if you want to stop at a particular point in a program.

See also

step skip, jump, continue, and finish provide other ways to progress