Hello, I finally found the issue (using the plain debugger): the call to org-babel-comint-with-output was set to remove the echo, but the only time there is an echo of the full body is when a single line function has an error, and this echo is useful to show where the error is. Here is a patch that makes sure the echo is kept.