diff --git a/thirdparty/sentry-native/src/backends/sentry_backend_crashpad.cpp b/thirdparty/sentry-native/src/backends/sentry_backend_crashpad.cpp index c44672341e..b5b4888cb4 100644 --- a/thirdparty/sentry-native/src/backends/sentry_backend_crashpad.cpp +++ b/thirdparty/sentry-native/src/backends/sentry_backend_crashpad.cpp @@ -390,6 +390,14 @@ sentry__crashpad_backend_startup( crashpad_info->set_system_crash_reporter_forwarding( 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; }