Emacs surprise: C-x C-e sets debug-on-error regardless of what it was set to before. Customise eval-expression-debug-on-error to change it.