Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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
2  
I figure when it hangs, it won't respond to saves either? –  surfasb Dec 19 '11 at 21:32
1  
Have you tried waiting for Eclipse? It can be very slow on some operations. –  harrymc Feb 6 '12 at 12:06

1 Answer 1

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

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.