摘要 |
A computing device executes one or more applications within a shell session, such as a Powershell session. The computing device may detect, within the shell session, a runtime exception that causes the shell session to prematurely terminate. The computer device serializes an object associated with the runtime exception prior to closure of the shell session. The computer device may also serialize other objects. Serializing the object includes identifying the object's type, identifying data associated with the object's type, identifying internal types of the object, and identifying data associated with each of the internal types, and generating a representation of the object that preserves the object's type, the data included in the object, and all internal types of the object. |