Eclipse CDT: Skip make/build before Debug/Run

eold picture eold · Mar 14, 2012 · Viewed 16.5k times · Source

I am debugging a large Makefile-based C project which takes 15 seconds to run "make" even if no changes to the sources are done. That means that whenever I relaunch the program, I need to wait for 15 seconds before I can even start debugging.

The project was imported through "Import as existing project with Makefile" and I am using gdb for debugger.

I want that when I relaunch, it runs the executable which was build last. How to disable this extra step of building (i.e. running "make") before each launch/debug?

(In the rare case of actually changing the source, I am willing to do a manual build / make)

Answer

Rix Beck picture Rix Beck · Dec 8, 2013

Project - Disable Autobuild option does not always means autobuild is off. For example "Makegood" test automation plugin will trigger autobuild when Preferences - Run/Debug - launching - (General opt) Build before launch is ON. So turn it off if manual build needed.