Add a hack to try and capture more crash data

This commit is contained in:
Marek Roszko 2023-04-16 13:48:34 -04:00
parent cc4a8dcc89
commit d18102fff6
1 changed files with 8 additions and 0 deletions

View File

@ -390,6 +390,14 @@ sentry__crashpad_backend_startup(
crashpad_info->set_system_crash_reporter_forwarding( crashpad_info->set_system_crash_reporter_forwarding(
crashpad::TriState::kDisabled); crashpad::TriState::kDisabled);
} }
{
// KICAD Hack to try and capture some extra variable data
crashpad::CrashpadInfo* crashpad_info = crashpad::CrashpadInfo::GetCrashpadInfo();
crashpad_info->set_gather_indirectly_referenced_memory( crashpad::TriState::kEnabled,
1024 * 1024 * 5 );
}
return 0; return 0;
} }