When debugging a function,
get.retval gives the current return value, i.e. the result of the most recent valid statement executed in the function body, whether typed or in the original code, and excluding calls to
go etc.. Presumably only relevant when in exit code.
To change the return value while in exit code, use
skip to move back into the function code, then