debugger: update & rewind current function.

RewindException is used to rewind the current stack frame and recall the
function with the same parameters, register states and clean locals.