forked from qt-creator/qt-creator
debugger: adjust 'skip known frames' to changes in Qt 4.6
This commit is contained in:
@@ -81,11 +81,17 @@ bool isSkippableFunction(const QString &funcName, const QString &fileName)
|
||||
return true;
|
||||
if (fileName.endsWith(QLatin1String("kernel/qmetaobject.cpp")))
|
||||
return true;
|
||||
if (fileName.endsWith(QLatin1String("kernel/qmetaobject_p.h")))
|
||||
return true;
|
||||
if (fileName.endsWith(QLatin1String(".moc")))
|
||||
return true;
|
||||
|
||||
if (funcName.endsWith("::qt_metacall"))
|
||||
return true;
|
||||
if (funcName.endsWith("::d_func"))
|
||||
return true;
|
||||
if (funcName.endsWith("::q_func"))
|
||||
return true;
|
||||
|
||||
return false;
|
||||
}
|
||||
@@ -94,6 +100,8 @@ bool isLeavableFunction(const QString &funcName, const QString &fileName)
|
||||
{
|
||||
if (funcName.endsWith(QLatin1String("QObjectPrivate::setCurrentSender")))
|
||||
return true;
|
||||
if (funcName.endsWith(QLatin1String("QMutexPool::get")))
|
||||
return true;
|
||||
if (fileName.endsWith(QLatin1String("kernel/qmetaobject.cpp"))
|
||||
&& funcName.endsWith(QLatin1String("QMetaObject::methodOffset")))
|
||||
return true;
|
||||
@@ -127,6 +135,8 @@ bool isLeavableFunction(const QString &funcName, const QString &fileName)
|
||||
return true;
|
||||
if (fileName.endsWith(QLatin1String("tools/qmap.h")))
|
||||
return true;
|
||||
if (fileName.endsWith(QLatin1String("tools/qshareddata.h")))
|
||||
return true;
|
||||
if (fileName.endsWith(QLatin1String("tools/qstring.h")))
|
||||
return true;
|
||||
if (fileName.endsWith(QLatin1String("global/qglobal.h")))
|
||||
|
||||
Reference in New Issue
Block a user