all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Alan Third <alan@idiocy.org>
To: Yuan Fu <casouri@gmail.com>
Cc: emacs-devel <emacs-devel@gnu.org>
Subject: Re: Debugging Emacs with lldb
Date: Sat, 24 Jul 2021 00:59:26 +0100	[thread overview]
Message-ID: <YPtX3iTRafU+PyDO@idiocy.org> (raw)
In-Reply-To: <F6D4E6B7-119D-48E4-8949-DCBCF0EB682A@gmail.com>

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.
> TIA.

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

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.

-- 
Alan Third



  reply	other threads:[~2021-07-23 23:59 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-07-23 23:50 Debugging Emacs with lldb Yuan Fu
2021-07-23 23:59 ` Alan Third [this message]
2021-07-24  0:34   ` Yuan Fu
2021-07-24  6:18     ` Eli Zaretskii

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=YPtX3iTRafU+PyDO@idiocy.org \
    --to=alan@idiocy.org \
    --cc=casouri@gmail.com \
    --cc=emacs-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.