RhinoCrashDump.3dm does not contain UserDictionary data

Every once in a while my “superb” code crashes Rhino, or Rhino crashes all of its own. I have noticed that any data I attach to an object in its UserDictionary is not seen when the RhinoCrashDump.3dm gets written. Is this on purpose, or could it be changed such that this gets written to the crash dump file too?

I don’t believe we write any plug-in data when a crash occurs. At that point Rhino is trying to do it’s absolute best of safely writing the geometry, and that means just write the geometry without letting any outside code possibly mess things up.

UserDictionary is not plugin data, it does not call any third party plugin WriteDocument methods when serializing.

You’re right, but it is still UserData. I guess we just focus on getting the geometry written when we hit a crash. Basically Rhino is in “trauma” mode at that point and we are trying to minimize any possibility of throwing an exception when writing the data to disk.

Ok, thanks for the info. I like that, “trauma” mode :smiley: