1. A method, comprising: detecting, by a processing device during a shell session, a runtime exception that causes the shell session to terminate; and serializing, by the processing device, an object associated with the runtime exception prior to closure of the shell session, the serializing comprising: identifying the object's type; identifying data associated with the object's type; identifying internal types of the object; for each of the internal types, identifying data associated with that internal type; generating a representation of the object that preserves the object's type, the data associated with the object's type, the internal types of the object, and the data associated with each of the internal types; and providing the representation of the object to one or more other shell sessions to enable the one or more other shell sessions to reconstruct the object, wherein the reconstructed object comprises the object's type, the data associated with the object's type, the internal types of the object, and the data associated with each of the internal types; receiving a request for the representation of the object from within an additional shell session of the one or more other shell sessions; retrieving the representation of the object; and de-serializing the representation of the object in the additional shell session to reconstruct the object.