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 <hjk@qt.io>
This commit is contained in:
Leena Miettinen
2022-01-04 09:35:31 +01:00
parent be9922c357
commit 8d06519211
2 changed files with 11 additions and 5 deletions

View File

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

View File

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