diff options
author | Michael Weghorn <m.weghorn@posteo.de> | 2020-12-02 16:27:10 +0100 |
---|---|---|
committer | Michael Weghorn <m.weghorn@posteo.de> | 2020-12-04 09:19:47 +0000 |
commit | 7cded0af3f313f0b8c5caebe330671444a86811a (patch) | |
tree | 3c6dba9892dce1d884fe4ddef5b3b4db07dc36cf /src/plugins/debugger/breakhandler.h | |
parent | 37ed5cc5e5623f4cf63ba03aa3980af37dadc6d3 (diff) |
Debugger: Fix editing breakpoints via breakpoints view
As the comment for the 'm_parameters' member
in the 'BreakpointItem' class says, that member is
supposed to hold the "Parameters acknowledged by engine",
which the parameters newly set in the dialog are not
yet at this point in time.
Therefore, if a global breakpoint exists, apply the
new parameters there, so they are considered as pending
changes (also returned by 'Breakpoint::requestedParameters')
when 'BreakHandler::requestBreakpointUpdate' is
called a few lines below, and new values get applied
properly.
Task-number: QTCREATORBUG-25035
Change-Id: I8bfd9123785ee911ff180d8311fa2559b55be580
Reviewed-by: hjk <hjk@qt.io>
Diffstat (limited to 'src/plugins/debugger/breakhandler.h')
-rw-r--r-- | src/plugins/debugger/breakhandler.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/plugins/debugger/breakhandler.h b/src/plugins/debugger/breakhandler.h index bd24d6263d..eee210fc89 100644 --- a/src/plugins/debugger/breakhandler.h +++ b/src/plugins/debugger/breakhandler.h @@ -86,6 +86,7 @@ public: bool isEnabled() const { return m_params.enabled; } void setEnabled(bool enabled, bool descend = true); + void setParameters(const BreakpointParameters ¶ms); const BreakpointParameters &requestedParameters() const { return m_params; } |