diff options
author | Nat Goodspeed <nat@lindenlab.com> | 2018-08-22 10:48:29 -0400 |
---|---|---|
committer | Nat Goodspeed <nat@lindenlab.com> | 2018-08-22 10:48:29 -0400 |
commit | 7dc014474de0c2d83a3cd314acd9dc0882622299 (patch) | |
tree | 9f72ece0fde5764a41733d6853992dc0196bce78 /debian/prerm | |
parent | 302052700b4605605808b90bed8fb1c5a93ece22 (diff) |
DRTVWR-447: Attempt to post BugSplat metadata with Mac crash reports.
Introduce CrashMetadata, an LLSingleton in llappviewermacosx.cpp, declared in
llappviewermacosx-for-objc.h and accessed by the various
BugsplatStartupManagerDelegate override methods. CrashMetadata is populated by
reading the previous (presumably crashed) run's static_debug_info.log file.
This replaces the previous getOldLogFilePathname(), getFatalMessage() and
getAgentFullname() functions. To extend that suite for additional metadata,
not only would we have to keep adding new free functions, but we'd have to
keep rereading the static_debug_info.log file.
Override the new applicationKeyForBugsplatStartupManager,
defaultUserNameForBugsplatStartupManager,
defaultUserEmailForBugsplatStartupManager methods to extract relevant fields
from CrashMetadata. Change applicationLogForBugsplatStartupManager and
attachmentForBugsplatStartupManager to do the same.
Enhance llviewerregion.cpp to update the static_debug_info.log file every
time we enter a new region.
Diffstat (limited to 'debian/prerm')
0 files changed, 0 insertions, 0 deletions