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>
This commit is contained in:
hjk
2022-01-03 10:30:08 +01:00
parent 32ed2df2f9
commit f2dea561ba
4 changed files with 53 additions and 18 deletions

View File

@@ -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);