2

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?

2
  • 2
    I figure when it hangs, it won't respond to saves either?
    – surfasb
    Commented Dec 19, 2011 at 21:32
  • 1
    Have you tried waiting for Eclipse? It can be very slow on some operations.
    – harrymc
    Commented Feb 6, 2012 at 12:06

1 Answer 1

1

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.

You must log in to answer this question.

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