emacs-devel
[Top][All Lists]
Advanced

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

Help getting started debugging Emacs on macOS Sierra


From: Itai Berli
Subject: Help getting started debugging Emacs on macOS Sierra
Date: Fri, 11 Aug 2017 02:25:17 +0300

Hello.

I'm new to Emacs development.

I'm interesting in exploring the Emacs bidi feature, which is coded in the files bidi.c and xdisp.c.

To get my feet wet, I'd like to set a breakpoint in the beginning of one of the functions in one of these files, I don't care which one, and step through the function in a debugger.

Not only am I new to Emacs development, I'm also new to developing C programs. Ideally, I'd like to do this in the Eclipse IDE for C/C++ Developers (Oxygen Release 4.7.0). However, I'm also willing to try another debugger, such as a command-line one, if it's easier to get started.

My operating system is macOS Sierra Version 10.12.6 (the latest version). My LLVM version is 8.1.0 (clang-802.0.42).

I'll appreciate it if someone can walk me through the steps needed to get up and running.

I have downloaded Emacs from git by running

> git clone git://git.savannah.gnu.org/emacs.git

I then compiled and installed it by running the following sequence of scripts.

> ./autogen.sh
> ./autogen.sh git
> ./configure
> make
> make install

All the scripts finished successfully. In the end I was able to start the Emacs GUI from the command line by running

> open nextstep/Emacs.app

The Emacs version that displayed was GNU Emacs 26.0.50 (build 1, x86_64-apple-darwin16.7.0, NS appkit-1504.83 Version 10.12.6 (Build 16G29)).


reply via email to

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