Showing the changes to interface/src/Application.cpp (1 of 2 files). Show all
Unified · Split
| @@ -283,7 +283,9 @@ public: · 282 unmodified lines | |||
| 283 | 283 | ||
| 284 | private: | 284 | private: |
| 285 | void initialize() { | 285 | void initialize() { |
| 286 | setObjectName("Render"); | ||
| 286 | PROFILE_SET_THREAD_NAME("Render"); | 287 | PROFILE_SET_THREAD_NAME("Render"); |
| 288 | setCrashAnnotation("render_thread_id", std::to_string((size_t)QThread::currentThreadId())); | ||
| 287 | if (!_renderContext->makeCurrent()) { | 289 | if (!_renderContext->makeCurrent()) { |
| 288 | qFatal("Unable to make rendering context current on render thread"); | 290 | qFatal("Unable to make rendering context current on render thread"); |
| 289 | } | 291 | } |
| @@ -1099,6 +1101,7 @@ Application::Application(int& argc, char** argv, QElapsedTimer& startupTimer, bo · 809 unmodified lines | |||
| 1099 | _logger->setSessionID(accountManager->getSessionID()); | 1101 | _logger->setSessionID(accountManager->getSessionID()); |
| 1100 | 1102 | ||
| 1101 | setCrashAnnotation("metaverse_session_id", accountManager->getSessionID().toString().toStdString()); | 1103 | setCrashAnnotation("metaverse_session_id", accountManager->getSessionID().toString().toStdString()); |
| 1104 | setCrashAnnotation("main_thread_id", std::to_string((size_t)QThread::currentThreadId())); | ||
| 1102 | 1105 | ||
| 1103 | if (steamClient) { | 1106 | if (steamClient) { |
| 1104 | qCDebug(interfaceapp) << "[VERSION] SteamVR buildID:" << steamClient->getSteamVRBuildID(); | 1107 | qCDebug(interfaceapp) << "[VERSION] SteamVR buildID:" << steamClient->getSteamVRBuildID(); |
| @@ -1440,6 +1443,7 @@ Application::Application(int& argc, char** argv, QElapsedTimer& startupTimer, bo · 335 unmodified lines | |||
| 1440 | Setting::Handle<bool> firstRun { Settings::firstRun, true }; | 1443 | Setting::Handle<bool> firstRun { Settings::firstRun, true }; |
| 1441 | 1444 | ||
| 1442 | QString machineFingerPrint = uuidStringWithoutCurlyBraces(FingerprintUtils::getMachineFingerprint()); | 1445 | QString machineFingerPrint = uuidStringWithoutCurlyBraces(FingerprintUtils::getMachineFingerprint()); |
| 1446 | setCrashAnnotation("machine_fingerprint", machineFingerPrint.toStdString()); | ||
| 1443 | 1447 | ||
| 1444 | auto& userActivityLogger = UserActivityLogger::getInstance(); | 1448 | auto& userActivityLogger = UserActivityLogger::getInstance(); |
| 1445 | if (userActivityLogger.isEnabled()) { | 1449 | if (userActivityLogger.isEnabled()) { |