index rss mastodon twitter github linkedin email
Álvaro Ramírez
sponsor

Álvaro Ramírez

19 April 2018 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