Debugger: improve tooltip handling for cdb

Fixes: QTCREATORBUG-13413
Change-Id: I93cde8d11867ab8cec8a2f760f0f38a0935fe946
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
This commit is contained in:
David Schulz
2024-03-06 13:13:38 +01:00
parent 3af6f65ebc
commit 9934a9cafa
2 changed files with 0 additions and 11 deletions

View File

@@ -237,15 +237,6 @@ void CdbEngine::adjustOperateByInstruction(bool operateByInstruction)
runCommand({QLatin1String(m_lastOperateByInstruction ? "l-t" : "l+t"), NoFlags}); 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. // Determine full path to the CDB extension library.
QString CdbEngine::extensionLibraryName(bool is64Bit, bool isArm) QString CdbEngine::extensionLibraryName(bool is64Bit, bool isArm)
{ {

View File

@@ -26,8 +26,6 @@ public:
explicit CdbEngine(); explicit CdbEngine();
~CdbEngine() override; ~CdbEngine() override;
bool canHandleToolTip(const DebuggerToolTipContext &context) const override;
void setupEngine() override; void setupEngine() override;
void runEngine(); void runEngine();
void shutdownInferior() override; void shutdownInferior() override;