code: function lookupObject(key) {
  	var obj = snapshot.heap[key];
  	if (!obj) {
  		throw new Error("Missing object with key " + key)
  	}
  	return obj;
  }
docs: --------------------------- Lookup functions ---------------------------