Eclipse hangs for various reasons. The problem because of that the workspace goes back in time and loose many things like errors, included files etc. I am using eclipse CDT. Is there anyway I could save the workspace from commandline before I do
kill -9 $(pgrep eclipse)?
Edit: Is there a way to save eclipse when it functions normal? I know restarting eclipse will save but is there a better way?