@alvaro
sign in · lmno.lol

Debugging Emacs binary

From How do I debug an emacs crash? (Emacs Stack Exchange), disable optimizations when configuring and build:

CFLAGS="-O0 -g3" ./configure ...
make

And good 'ol gdb (lldb works too):

gdb ../nextstep/Emacs.app/Contents/MacOS/Emacs

Reference