Welcome Serena Central users! CLICK HERE
The migration of the Serena Central community is currently underway. Be sure to read THIS MESSAGE to get your new login set up to access your account.

How can you stop Eclipse compiling all the programs before starting the debugger?

How can you stop Eclipse compiling all the programs before starting the debugger?

Problem :

Every time  a debug session is started Eclipse compiles all the programs before starting the debug. With large projects containing many programs (that still need to be fixed in terms of syntax errors) it takes a long time to compile all those programs, this happens at each start of a debug session.

Is there a way to prevent Eclipse from compiling all the programs before starting a debug session?

Resolution :

When debugging starts, a check on source files will be performed to find out if any are out of date, and if so a build is performed.

This can be switched off in the Eclipse menu > Window/Preferences/RunDebug/Launching property page. 

On that page (about half way down) is an option called “Build (if required) before launching”.   

De-select that option, click Apply/Close and then test.

NB. This is a global option so will affect the whole IDE (for example - Java as well). 

DISCLAIMER:

Some content on Community Tips & Information pages is not officially supported by Micro Focus. Please refer to our Terms of Use for more detail.
Top Contributors
Version history
Revision #:
4 of 4
Last update:
‎2019-11-19 14:34
Updated by:
 
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.