forked from qt-creator/qt-creator
Debugger: Dont show invalid hit count
The CDB Engine cannot report the hit count. Instead of showing "0", we don't show the hit count at all. Task-number: QTCREATORBUG-20069 Change-Id: Ie8b5478ba85c7255b13070cb488599a2b2ca4537 Reviewed-by: <github-actions-qt-creator@cristianadam.eu> Reviewed-by: David Schulz <david.schulz@qt.io>
This commit is contained in:
@@ -207,7 +207,8 @@ QString BreakpointParameters::toString() const
|
||||
ts << " [pending]";
|
||||
if (!functionName.isEmpty())
|
||||
ts << " Function: " << functionName;
|
||||
ts << " Hit: " << hitCount << " times";
|
||||
if (hitCount)
|
||||
ts << " Hit: " << *hitCount << " times";
|
||||
ts << ' ';
|
||||
|
||||
return result;
|
||||
|
||||
Reference in New Issue
Block a user