Fixed error reporting on debugging non-existing file.
Fixed complex values 'captured' by redirected 'print' and not collected.