@@ -347,6 +347,11 @@ void IsolateData::DeserializeProperties(const IsolateDataSerializeInfo* info) {
347347 size_t i = 0 ;
348348 HandleScope handle_scope (isolate_);
349349
350+ if (per_process::enabled_debug_list.enabled (DebugCategory::MKSNAPSHOT)) {
351+ fprintf (stderr, " deserializing IsolateDataSerializeInfo...\n " );
352+ std::cerr << *info << " \n " ;
353+ }
354+
350355#define VP (PropertyName, StringValue ) V(Private, PropertyName)
351356#define VY (PropertyName, StringValue ) V(Symbol, PropertyName)
352357#define VS (PropertyName, StringValue ) V(String, PropertyName)
@@ -1704,6 +1709,11 @@ void Environment::RunDeserializeRequests() {
17041709void Environment::DeserializeProperties (const EnvSerializeInfo* info) {
17051710 Local<Context> ctx = context ();
17061711
1712+ if (enabled_debug_list_.enabled (DebugCategory::MKSNAPSHOT)) {
1713+ fprintf (stderr, " deserializing EnvSerializeInfo...\n " );
1714+ std::cerr << *info << " \n " ;
1715+ }
1716+
17071717 RunDeserializeRequests ();
17081718
17091719 async_hooks_.Deserialize (ctx);
@@ -1716,11 +1726,6 @@ void Environment::DeserializeProperties(const EnvSerializeInfo* info) {
17161726 should_abort_on_uncaught_toggle_.Deserialize (ctx);
17171727
17181728 principal_realm_->DeserializeProperties (&info->principal_realm );
1719-
1720- if (enabled_debug_list_.enabled (DebugCategory::MKSNAPSHOT)) {
1721- fprintf (stderr, " deserializing...\n " );
1722- std::cerr << *info << " \n " ;
1723- }
17241729}
17251730
17261731uint64_t GuessMemoryAvailableToTheProcess () {
0 commit comments