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

From: Noam Postavsky <[email-masked]>
Date: Tue, 4 Oct 2016 16:52:29 -0400

On Tue, Oct 4, 2016 at 12:30 PM, Philipp Stephani <[email-masked]> wrote:
>
> 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.
>

Just a note: you can get a backtrace by setting debug-on-signal
instead of debug-on-error.