Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Eclipse doesn't save files before running, debugging,

Tags:

Normally Eclipse saves my unsaved files before starting to debug or run a ant script. This isn't working anymore.

The general -> safe before build is ticked. I have cleaned the project and restarted Eclipse. What am I missing?

like image 891
Franz Kafka Avatar asked Oct 11 '11 00:10

Franz Kafka


People also ask

How can you set files to save automatically when launching an application in Eclipse?

A check-box allows to enable the auto-save. The preferences page is accessible from Window > Preferences > General > Editors > Auto-save. The default value of inactivity before a save is set by default to 60 seconds. This value is customizable.

How do I fix debugging in Eclipse?

A Java program can be debugged simply by right clicking on the Java editor class file from Package explorer. Select Debug As → Java Application or use the shortcut Alt + Shift + D, J instead.

How do I autosave in Eclipse?

The autosave option is disabled by default. A new autosave preference page (Preferences > General > Editors > Autosave) is available and allows to enable/disable the autosave and change the interval of autosave.

What is Eclipse drop to frame debugging?

6. Drop to frame. Eclipse enables users to choose any frame (level) in the call stack during the debugging process and set the JVM to start again from the selected level. In simple words, it allows you to re-run a part of your program.


1 Answers

FailedDev pointed me to a thread talking about these kind of issue. Going under Window -> Preferences -> run/debug -> launch -> save dirty... did the trick.

like image 127
Franz Kafka Avatar answered Sep 21 '22 22:09

Franz Kafka