Subject: Re: bug#24616: 26.0.50; No backtrace when emacsclient --eval fails

From: Eli Zaretskii <[email-masked]>
Date: Tue, 04 Oct 2016 20:15:51 +0300

> From: Philipp Stephani <[email-masked]>
> Date: Tue, 04 Oct 2016 18:30:15 +0200
> 
> Start the server.
> Then run e.g.
> 
> $ emacsclient --eval '(progn (defun f () (error "foo")) (setq debug-on-error t) (f))'
> *ERROR*: foo
> 
> Note that there's no backtrace. This makes it almost impossible to debug
> problems when using emacsclient.

See this discussion:

  http://lists.gnu.org/archive/html/emacs-devel/2016-08/msg00122.html