|
From: | Itai Berli |
Subject: | Re: Help getting started debugging Emacs on macOS Sierra |
Date: | Fri, 11 Aug 2017 15:40:42 +0300 |
On Fri, 11 Aug 2017, Itai Berli wrote:
Thanks, Tino.Oh, i think you mention you run Emacs with:
I've finally managed to get gdb to work by executing the following two instructions at the gdb command prompt:
(gdb) cd ~/emacs
(gdb) file src/bootstrap-emacs
However, your suggestion to execute the following from the terminal, didn't work:
> emacs ~/emacs/src
open nextstep/Emacs.app
i don't have mac but i guess the following might work (*):
open -a nextstep/Emacs.app ~/emacs/src
(*) https://www.emacswiki.org/emacs/EmacsForMacOS#toc17
In case it works, then call from Emacs the gdb front-end:
M-x gdb RET
;; You must see something like:
gdb -i=mi bootstrap-emacs
;; Just enter and gdb would have loaded the Emacs executable
[Prev in Thread] | Current Thread | [Next in Thread] |