diff options
author | Nat Goodspeed <nat@lindenlab.com> | 2018-08-23 12:31:54 -0400 |
---|---|---|
committer | Nat Goodspeed <nat@lindenlab.com> | 2018-08-23 12:31:54 -0400 |
commit | e674f11757ab55c5ca7aab4cb1c8e059fa98f466 (patch) | |
tree | 81fcc0c7f513585c64cca6910dc87723894b21bd /indra/cmake/LLCrashLogger.cmake | |
parent | afbf243f1a049bdeec6410bcc57350b00d0da169 (diff) |
DRTVWR-447: Add (some) metadata to Mac crash reports.
This required reordering certain operations during Mac viewer startup. Split
llappviewermacosx.cpp's initViewer() function into constructViewer() (which
instantiates LLAppViewerMacOSX) and initViewer() (which calls
LLAppViewerMacOSX::init()).
llappdelegate-objc.mm's applicationDidFinishLaunching override now calls
[BugsplatStartupManager start] between constructViewer() and initViewer(): we
want constructViewer() to have set up the logging subsystem so we can log the
actions of BugsplatStartupManagerDelegate override methods, but otherwise we
want BugsplatStartupManager in place as early as possible to catch any early
crashes. Besides, initViewer() ends up overwriting the static_debug_info.log
on which we depend for the *previous* run's crash metadata.
Move the code that initializes the pathname of the static_debug_info.log file
from LLAppViewerMacOSX::init() to the LLAppViewerMacOSX() constructor, since
BugsplatStartupManagerDelegate override methods need to read (the previous
run's) file.
Add code to applicationLogForBugsplatStartupManager override to set new
BugsplatMac 1.0.6 properties userName and userEmail.
Don't log empty fields from static_debug_info.log if we couldn't read it.
Diffstat (limited to 'indra/cmake/LLCrashLogger.cmake')
0 files changed, 0 insertions, 0 deletions