Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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?

share|improve this question
I figure when it hangs, it won't respond to saves either? – surfasb Dec 19 '11 at 21:32
Have you tried waiting for Eclipse? It can be very slow on some operations. – harrymc Feb 6 '12 at 12:06
up vote 1 down vote accepted

It doesn't appear to be possible to save the workspace when Eclipse hangs.

Saving the workspace when Eclipse is still responding (According to eclipse: explicitly saving project / workspace) is easiest accomplished by switching workspaces (To empty workspace an back, for example. File/Switch Workspace). In the same thread the plugin "saveui" is also referenced which can be configured to save the workspace often.

share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .