diff options
author | hjk <[email protected]> | 2022-12-20 09:46:29 +0100 |
---|---|---|
committer | hjk <[email protected]> | 2022-12-20 08:51:14 +0000 |
commit | c83e66d45f41dbcc340658c0052f9ead8aef3512 (patch) | |
tree | c3c1dccec12b8a8bf7520b30563589e123bfabd6 | |
parent | 7e1fb3aaaa8c10e02bc4c92fc4d74a77770c9a41 (diff) |
Debugger: Update "known functions" to skip
Fixes: QTCREATORBUG-26821
Change-Id: I12e895034bcf3896caef75f38364cbc9a4484ae5
Reviewed-by: Eike Ziller <[email protected]>
-rw-r--r-- | src/plugins/debugger/debuggeractions.cpp | 1 | ||||
-rw-r--r-- | src/plugins/debugger/watchutils.cpp | 20 |
2 files changed, 20 insertions, 1 deletions
diff --git a/src/plugins/debugger/debuggeractions.cpp b/src/plugins/debugger/debuggeractions.cpp index 0dec35b3fd4..d33d667f651 100644 --- a/src/plugins/debugger/debuggeractions.cpp +++ b/src/plugins/debugger/debuggeractions.cpp @@ -567,7 +567,6 @@ DebuggerSettings::DebuggerSettings() page2.registerAspect(&loadGdbInit); page2.registerAspect(&loadGdbDumpers); page2.registerAspect(&intelFlavor); - page2.registerAspect(&skipKnownFrames); page2.registerAspect(&usePseudoTracepoints); page2.registerAspect(&useIndexCache); page2.registerAspect(&gdbStartupCommands); diff --git a/src/plugins/debugger/watchutils.cpp b/src/plugins/debugger/watchutils.cpp index dd408318e36..3f90b003b33 100644 --- a/src/plugins/debugger/watchutils.cpp +++ b/src/plugins/debugger/watchutils.cpp @@ -42,8 +42,28 @@ QString removeObviousSideEffects(const QString &expIn) bool isSkippableFunction(const QString &funcName, const QString &fileName) { + if (fileName.endsWith("/atomic_base.h")) + return true; + if (fileName.endsWith("/atomic")) + return true; + if (fileName.endsWith("/qatomic_cxx11.h")) + return true; + if (fileName.endsWith("/qbasicatomic.h")) + return true; + if (fileName.endsWith("/qobjectdefs.h")) + return true; + if (fileName.endsWith("/qobjectdefs_impl.h")) + return true; if (fileName.endsWith("/qobject.cpp")) return true; + if (fileName.endsWith("/qobject_p.h")) + return true; + if (fileName.endsWith("/qobject_p_p.h")) + return true; + if (fileName.endsWith("/qscopedpointer.h")) + return true; + if (fileName.endsWith("/qthread.h")) + return true; if (fileName.endsWith("/moc_qobject.cpp")) return true; if (fileName.endsWith("/qmetaobject.cpp")) |