The step command is equivalent to:
when step -temp { stop; }; cont
The step command can take a sig argument. A step by itself cancels the current signal just like cont does. To forward the signal, you must explicitly give the signal. You can use the variable $sig to step the program forwarding it the current signal:
step -sig $sig