From 8d06519211060068a92bc57ff346c3a5df24e94c Mon Sep 17 00:00:00 2001 From: Leena Miettinen Date: Tue, 4 Jan 2022 09:35:31 +0100 Subject: [PATCH] Doc: Describe new and modified Debugger keyboard shortcuts F9 (F8 on macOS) is now Set or Remove Breakpoint and Ctrl+9 (Ctrl+8) was added for Enable or Disable Breakpoint. Task-number: QTCREATORBUG-26788 Change-Id: I54ddf2f15812dd5349ac31c8afade84c0e3fff96 Reviewed-by: hjk --- .../src/debugger/creator-debugger-common.qdocinc | 7 +++++-- doc/qtcreator/src/howto/creator-keyboard-shortcuts.qdoc | 9 ++++++--- 2 files changed, 11 insertions(+), 5 deletions(-) diff --git a/doc/qtcreator/src/debugger/creator-debugger-common.qdocinc b/doc/qtcreator/src/debugger/creator-debugger-common.qdocinc index 7da912a6f31..95532c7698b 100644 --- a/doc/qtcreator/src/debugger/creator-debugger-common.qdocinc +++ b/doc/qtcreator/src/debugger/creator-debugger-common.qdocinc @@ -1,6 +1,6 @@ /**************************************************************************** ** -** Copyright (C) 2020 The Qt Company Ltd. +** Copyright (C) 2022 The Qt Company Ltd. ** Contact: https://www.qt.io/licensing/ ** ** This file is part of the Qt Creator documentation. @@ -113,7 +113,7 @@ \list \li In the code editor, click the left margin or press \key F9 - (\key F8 for \macos) at a particular line you want the + (\key F8 on \macos) on a particular line you want the program to stop. \li In the \uicontrol {Breakpoint Preset} view or the @@ -227,6 +227,9 @@ \li Right-click the breakpoint marker in the text editor and select \uicontrol{Disable Breakpoint}. + \li Select a line that contains a breakpoint and press \key Ctrl+F9 + (\key Ctrl+F8 on \macos). + \li In the \uicontrol {Breakpoint Preset} view or the \uicontrol Breakpoints view: \list diff --git a/doc/qtcreator/src/howto/creator-keyboard-shortcuts.qdoc b/doc/qtcreator/src/howto/creator-keyboard-shortcuts.qdoc index 377cb5a4c9b..a323726b775 100644 --- a/doc/qtcreator/src/howto/creator-keyboard-shortcuts.qdoc +++ b/doc/qtcreator/src/howto/creator-keyboard-shortcuts.qdoc @@ -1,6 +1,6 @@ /**************************************************************************** ** -** Copyright (C) 2020 The Qt Company Ltd. +** Copyright (C) 2022 The Qt Company Ltd. ** Contact: https://www.qt.io/licensing/ ** ** This file is part of the Qt Creator documentation. @@ -631,8 +631,11 @@ \li Step out \li Shift+F11 \row - \li Toggle breakpoint - \li F9 + \li Set or remove breakpoint + \li F9 (F8 on \macos) + \row + \li Enable or disable breakpoint + \li Ctrl+F9 (Ctrl+F8 on \macos) \row \li Run to selected function \li Ctrl+F6