From 2d128e9c707791f3ea127322c18fdee828e685ab Mon Sep 17 00:00:00 2001 From: Marcus Tillmanns Date: Wed, 7 Jun 2023 09:28:40 +0200 Subject: [PATCH] Debugger: Fix BreakpointItem::needsChange Change-Id: I75680eddb7a6c2ba23148b66cf8dfcc08b07eca2 Reviewed-by: hjk --- src/plugins/debugger/breakhandler.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/plugins/debugger/breakhandler.cpp b/src/plugins/debugger/breakhandler.cpp index ce539134551..180b2c0a07d 100644 --- a/src/plugins/debugger/breakhandler.cpp +++ b/src/plugins/debugger/breakhandler.cpp @@ -1873,6 +1873,8 @@ bool BreakpointItem::needsChange() const return true; if (oparams.type == BreakpointByFileAndLine && oparams.textPosition != m_parameters.textPosition) return true; + if (oparams.pathUsage != m_parameters.pathUsage) + return true; // FIXME: Too strict, functions may have parameter lists, or not. // if (m_params.type == BreakpointByFunction && m_params.functionName != m_response.functionName) // return true;