From 9934a9cafafea4276ba7a325e3c899ba9ba2cd46 Mon Sep 17 00:00:00 2001 From: David Schulz Date: Wed, 6 Mar 2024 13:13:38 +0100 Subject: [PATCH] Debugger: improve tooltip handling for cdb Fixes: QTCREATORBUG-13413 Change-Id: I93cde8d11867ab8cec8a2f760f0f38a0935fe946 Reviewed-by: Reviewed-by: Christian Stenger --- src/plugins/debugger/cdb/cdbengine.cpp | 9 --------- src/plugins/debugger/cdb/cdbengine.h | 2 -- 2 files changed, 11 deletions(-) diff --git a/src/plugins/debugger/cdb/cdbengine.cpp b/src/plugins/debugger/cdb/cdbengine.cpp index c7e20aae980..e8d3978b73c 100644 --- a/src/plugins/debugger/cdb/cdbengine.cpp +++ b/src/plugins/debugger/cdb/cdbengine.cpp @@ -237,15 +237,6 @@ void CdbEngine::adjustOperateByInstruction(bool operateByInstruction) runCommand({QLatin1String(m_lastOperateByInstruction ? "l-t" : "l+t"), NoFlags}); } -bool CdbEngine::canHandleToolTip(const DebuggerToolTipContext &context) const -{ - Q_UNUSED(context) - // Tooltips matching local variables are already handled in the - // base class. We don't handle anything else here in CDB - // as it can slow debugging down. - return false; -} - // Determine full path to the CDB extension library. QString CdbEngine::extensionLibraryName(bool is64Bit, bool isArm) { diff --git a/src/plugins/debugger/cdb/cdbengine.h b/src/plugins/debugger/cdb/cdbengine.h index b8afe1e2d91..2b644c68baa 100644 --- a/src/plugins/debugger/cdb/cdbengine.h +++ b/src/plugins/debugger/cdb/cdbengine.h @@ -26,8 +26,6 @@ public: explicit CdbEngine(); ~CdbEngine() override; - bool canHandleToolTip(const DebuggerToolTipContext &context) const override; - void setupEngine() override; void runEngine(); void shutdownInferior() override;