3

I'm new to mac, so far when restarting everything worked reliably as it did before and was more or less in the same state.

Can I as a dev lean on not loosing any state information when restarting? Can every application be restored completely and when does data loss occur ? Are there any known bugs ?

Before getting too comfortable with the feature I want to know how much I can rely on it to restore everything to the previous state, otherwise I will be more cautios with restarts, so I think this info is helpful for any dev using mac osx as a platfom to develop.

1
  • I think you're just better off turning it off. You can just re-open any applications after you restart. Aug 23, 2016 at 16:34

2 Answers 2

4

In practice you can't rely on it.

The hooks are there in the OS to allow perfect restoration but each app has to be written to keep track of its changes and most aren't. Often that is the correct design decision as it allow the app to start in a controlled state rather than work out all the possible changes.

If you want the same state don't log out just put the machine to sleep.

2

No. It will lose or potentially corrupt some state. It seems to depend a lot on which applications are open. Sublime Text is great about managing its state, but XCode is not just to offer 2 examples. I do not know of many bugs about this (here's one, warning: language).

You must log in to answer this question.

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