forked from qt-creator/qt-creator
Debugger: Fix BreakpointItem::needsChange
Change-Id: I75680eddb7a6c2ba23148b66cf8dfcc08b07eca2 Reviewed-by: hjk <hjk@qt.io>
This commit is contained in:
@@ -1873,6 +1873,8 @@ bool BreakpointItem::needsChange() const
|
|||||||
return true;
|
return true;
|
||||||
if (oparams.type == BreakpointByFileAndLine && oparams.textPosition != m_parameters.textPosition)
|
if (oparams.type == BreakpointByFileAndLine && oparams.textPosition != m_parameters.textPosition)
|
||||||
return true;
|
return true;
|
||||||
|
if (oparams.pathUsage != m_parameters.pathUsage)
|
||||||
|
return true;
|
||||||
// FIXME: Too strict, functions may have parameter lists, or not.
|
// FIXME: Too strict, functions may have parameter lists, or not.
|
||||||
// if (m_params.type == BreakpointByFunction && m_params.functionName != m_response.functionName)
|
// if (m_params.type == BreakpointByFunction && m_params.functionName != m_response.functionName)
|
||||||
// return true;
|
// return true;
|
||||||
|
Reference in New Issue
Block a user