finish [levels]
Continue execution until the program is about to leave the current function. Sometimes this is called "step out".
When integer levels is specified, that many frame levels need to be popped. The default is 1.
See the break
command if you want to stop at a particular point in a program. In general, finish
, step
and next
may slow a program down while break
will have less overhead.