From 941821e2c761e759ac9020de96ee9bbbce9e4e8b Mon Sep 17 00:00:00 2001 From: Brad Hefta-Gaub Date: Fri, 25 Mar 2016 12:17:24 -0700 Subject: [PATCH] add some extra debugging at deadlock detection to explain unreasonable numbers --- interface/src/Application.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/interface/src/Application.cpp b/interface/src/Application.cpp index c37d010395..89bddf7a90 100644 --- a/interface/src/Application.cpp +++ b/interface/src/Application.cpp @@ -306,7 +306,10 @@ public: #ifdef NDEBUG if (lastHeartbeatAge > MAX_HEARTBEAT_AGE_USECS) { - qDebug() << "DEADLOCK DETECTED -- lastHeartbeatAge:" << lastHeartbeatAge + qDebug() << "DEADLOCK DETECTED -- " + << "lastHeartbeatAge:" << lastHeartbeatAge + << "[ _heartbeat:" << _heartbeat + << "now:" << now << " ]" << "elapsedMovingAverage:" << elapsedMovingAverage << "maxElapsed:" << _maxElapsed << "maxElapsedAverage:" << _maxElapsedAverage