[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Debugging Emacs with lldb

From: Yuan Fu
Subject: Re: Debugging Emacs with lldb
Date: Fri, 23 Jul 2021 20:34:47 -0400

On Jul 23, 2021, at 7:59 PM, Alan Third <alan@idiocy.org> wrote:

On Fri, Jul 23, 2021 at 07:50:21PM -0400, Yuan Fu wrote:
Hey Alan,

IIRC you are using lldb to debug Emacs. I’m stuck on a Mac and now
need to debug Emacs, too. lldb doesn’t get any of the commands
defined in gdbinit. How did you work around that? For example, how
do you check the lisp backtrace without xbacktrace? Right now I’m
staring at a wall of Ffuncall and don’t know what to do with it.

I don't do much lisp work, so I've never really run up against these

If you can get GDB installed it should be possible to sign it so it
works. At least it used to be possible to do so. There are
instructions on the internet, but I won't recommend any particular
ones as I haven't done it for years.

I’ve tried countless times since 2019, and I can install and code sign GDB, but every time I “run”, gdb hangs. That seems to be a bug that was yet to be fixed[1]. 

Anyway, thanks!

[1]: https://sourceware.org/bugzilla/show_bug.cgi?id=24069


reply via email to

[Prev in Thread] Current Thread [Next in Thread]