Eclipse CDT: Skip make / build before Debug / Run
I am debugging a large C project based on a Makefile that takes 15 seconds to run "make" even if no changes are made to the sources. This means that whenever I restart the program, I have to wait 15 seconds before I can even start debugging.
The project was imported via "Import as Existing Project with Makefile" and I use gdb for the debugger.
I want it to run the executable that was last created when I run it again. How do I disable this extra build step (ie Run "make") before each run / debug?
(On the rare occasion that I actually change the source, I am willing to do a manual build / make)
source to share
In current Eclipse builds such as Oxygen.3, the option to disable automatic builds has been moved to Preferences -> Run / Debug -> Launching, and here "Build (if required) before launch" under General options. Apparently there is no differentiation between doing this just for debugging, generally applies to both regular and debug runs.
source to share