[Top][All Lists]

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

Re: How to run emacs under a debugger on macOS?

From: Pankaj Jangid
Subject: Re: How to run emacs under a debugger on macOS?
Date: Sat, 11 Jan 2020 19:00:26 +0000
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.60 (darwin)

Alan Third <address@hidden> writes:

> On Sat, Jan 11, 2020 at 11:32:15AM +0000, Pankaj Jangid wrote:
>> 1. How to make debug build?  2. How to launch emacs under a debugger
>> on macos?  3. Any other instructions relevant for debugging.
> I usually do something like:
>     ./configure CFLAGS="-g -O0" make make install lldb
>     nextstep/Emacs.app/Contents/MacOS/Emacs


BTW I launched directory from the ./src/emacs after building with "-g

> It’s possible to use gdb on macOS, but you need to at a minimum sign
> it, and upgrades will undo that so you have to do it again. I don’t
> usually bother with gdb.

Okay. I'll look into it sometime. :-)

One followup query: Does lldb also create similar dump that the gdb
creates when there is a crash?


reply via email to

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