aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/debugger/breakhandler.h
diff options
context:
space:
mode:
authorhjk <hjk@qt.io>2022-01-03 10:30:08 +0100
committerhjk <hjk@qt.io>2022-01-04 06:14:16 +0000
commitf2dea561ba8479b5dc3659956139a1d44fe1cc98 (patch)
tree44d58cc71c0640e5638cb2d3101e17fd4643a709 /src/plugins/debugger/breakhandler.h
parent32ed2df2f9595e8137c5a4b05238db68d123570f (diff)
Debugger: Introduce a Ctrl-F9 shortcut to enable/disable breakpoints
Since "toggle" now becomes ambiguous, change "Toggle Breakpoint" to "Set or Remove Breakpoint" and add a new "Enable or Disable Breakpoint" Fixes: QTCREATORBUG-26788 Change-Id: I7902308298570360af202fced90bf44fc1a59adb Reviewed-by: David Schulz <david.schulz@qt.io>
Diffstat (limited to 'src/plugins/debugger/breakhandler.h')
-rw-r--r--src/plugins/debugger/breakhandler.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/plugins/debugger/breakhandler.h b/src/plugins/debugger/breakhandler.h
index b20555cae4..3354b382dd 100644
--- a/src/plugins/debugger/breakhandler.h
+++ b/src/plugins/debugger/breakhandler.h
@@ -304,7 +304,8 @@ public:
static GlobalBreakpoint findBreakpointFromContext(const ContextData &location);
static void claimBreakpointsForEngine(DebuggerEngine *engine);
- static void toggleBreakpoint(const ContextData &location, const QString &tracePointMessage = QString());
+ static void setOrRemoveBreakpoint(const ContextData &location, const QString &tracePointMessage = {});
+ static void enableOrDisableBreakpoint(const ContextData &location);
static void createBreakpointForEngine(const BreakpointParameters &data, DebuggerEngine *engine);
static void editBreakpoint(const GlobalBreakpoint &gbp, QWidget *parent);