ブレークポイントの管理
ブレークポイントの移動
ブレークポイントを移動するには:
- テキストエディタ内でブレークポイントマーカーを別の行にドラッグします。
- 「Breakpoint Preset 」ビューまたは「Breakpoints 」ビューで、「Edit Selected Breakpoints 」を選択し、「Line number 」で行番号を設定します。

ブレークポイントの削除
ブレークポイントを削除するには:
- テキストエディタでブレークポイントマーカーを選択します。
- 「Breakpoint Preset 」ビューまたは「Breakpoints 」ビューで:
- ブレークポイントを選択し、「Delete」を選択します。
- コンテキストメニューから「Delete Selected Breakpoints 」、「Delete Selected Breakpoints 」、または「Delete Breakpoints of File 」を選択します。
ブレークポイントの有効化と無効化
ブレークポイントを削除せず、条件やコマンドなどの関連データを失うことなく一時的に無効にするには:
- テキストエディタ内のブレークポイントマーカーを右クリックし、「Disable Breakpoint 」を選択します。
- ブレークポイントが設定されている行を選択し、Ctrl+F9(macOS ではCtrl+F8)を押します。
- 「Breakpoint Preset 」ビューまたは「Breakpoints 」ビューで:
- ブレークポイントを選択し、スペースキーを押します。
- コンテキストメニューから「Disable Breakpoint 」を選択します。
テキストエディタや各ビューに表示される中空のブレークポイントアイコンは、無効化されたブレークポイントを示しています。ブレークポイントを再度有効にするには、上記のいずれかの方法を使用してください。
データブレークポイント以外は、デバッグ対象のアプリケーションを再起動しても、有効または無効の状態が保持されます。
関連項目: 方法: デバッグ、デバッグ、デバッガー、およびブレークポイントの設定。
Copyright © The Qt Company Ltd. and other contributors. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.