[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Lisp-friendly backtraces [was: Lispy backtraces]
From: |
Clément Pit--Claudel |
Subject: |
Re: Lisp-friendly backtraces [was: Lispy backtraces] |
Date: |
Mon, 5 Dec 2016 09:14:38 -0500 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.5.1 |
On 2016-12-05 08:20, Stefan Monnier wrote:
>> (defun backtrace ()
>> "Print a trace of Lisp function calls currently active.
>> Output stream used is value of `standard-output'."
>> (mapbacktrace #'~/backtrace-1 1))
>
> Have you tried it both byte-compiled and interpreted? Maybe this
> function is just simple enough that the result is the same in both
> cases, but in my experience, the stack is sufficiently different in the
> two cases that a constant nskip doesn't cut it (hence the use of `base`
> in backtrace-frame).
Thanks; I attached an updated patch. Removing `backtrace' from eval.c makes
the patch much harder to read, so I'll do that later.
Clément.
bt.el
Description: Text Data
0001-New-function-mapbacktrace.patch
Description: Text Data
signature.asc
Description: OpenPGP digital signature
- Re: bug#24514: 24.5; Lispy backtraces, Clément Pit--Claudel, 2016/12/01
- Re: bug#24514: 24.5; Lispy backtraces, Stefan Monnier, 2016/12/01
- Re: bug#24514: 24.5; Lispy backtraces, Clément Pit--Claudel, 2016/12/03
- Re: bug#24514: 24.5; Lispy backtraces, Eli Zaretskii, 2016/12/04
- Re: bug#24514: 24.5; Lispy backtraces, Clément Pit--Claudel, 2016/12/04
- Re: bug#24514: 24.5; Lispy backtraces, Eli Zaretskii, 2016/12/04
- Re: bug#24514: 24.5; Lispy backtraces, Clément Pit--Claudel, 2016/12/04
- Re: bug#24514: 24.5; Lispy backtraces, Eli Zaretskii, 2016/12/04
- Lisp-friendly backtraces [was: Lispy backtraces], Clément Pit--Claudel, 2016/12/05
- Re: Lisp-friendly backtraces [was: Lispy backtraces], Stefan Monnier, 2016/12/05
- Re: Lisp-friendly backtraces [was: Lispy backtraces],
Clément Pit--Claudel <=
- Re: Lisp-friendly backtraces [was: Lispy backtraces], Stefan Monnier, 2016/12/05
- Re: Lisp-friendly backtraces [was: Lispy backtraces], Clément Pit--Claudel, 2016/12/05
- Re: Lisp-friendly backtraces [was: Lispy backtraces], Eli Zaretskii, 2016/12/05
- Re: Lisp-friendly backtraces [was: Lispy backtraces], Eli Zaretskii, 2016/12/05
- Re: Lisp-friendly backtraces [was: Lispy backtraces], Clément Pit--Claudel, 2016/12/05
- Re: Lisp-friendly backtraces [was: Lispy backtraces], Eli Zaretskii, 2016/12/06
- Re: Lisp-friendly backtraces [was: Lispy backtraces], Clément Pit--Claudel, 2016/12/07
- Re: Lisp-friendly backtraces [was: Lispy backtraces], Clément Pit--Claudel, 2016/12/12