Therefore I am still suggesting that an explanation for the symptoms is that, to use Anno's words, the debugger "starts a new interpreter each time ..." ... it reads the keyboard input and uses "string eval" on it instead of submitting it directly to Perl.