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?
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.
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.
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.
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.
FailedDev pointed me to a thread talking about these kind of issue. Going under Window -> Preferences -> run/debug -> launch -> save dirty... did the trick.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With