Debugger: Leave everything in qobject.cpp when skipping known frames

This avoids stepping into a large chunk of not-so-interesting parts
in atomics etc by hopefully not skipping too much.

Change-Id: I29fb2705275899332dfab0f6991670ac9bb2cc57
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
This commit is contained in:
hjk
2022-12-20 10:08:12 +01:00
parent ef3aad1c9b
commit 2aff1282c4

View File

@@ -94,9 +94,7 @@ bool isLeavableFunction(const QStringView funcName, const QStringView fileName)
if (fileName.endsWith(u"/qmetaobject.cpp")
&& funcName.endsWith(u"QMetaObject::methodOffset"))
return true;
if (fileName.endsWith(u"/qobject.cpp")
&& (funcName.endsWith(u"QObjectConnectionListVector::at")
|| funcName.endsWith(u"~QObject")))
if (fileName.endsWith(u"/qobject.cpp"))
return true;
if (fileName.endsWith(u"/qmutex.cpp"))
return true;