File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1- *terminal.txt* For Vim バージョン 9.2. Last change: 2026 Feb 24
1+ *terminal.txt* For Vim バージョン 9.2. Last change: 2026 Mar 12
22
33
44 VIM リファレンスマニュアル by Bram Moolenaar
@@ -1401,11 +1401,25 @@ gdb ウィンドウにフォーカスを移しコマンドを入力する。一
14011401 `:Run ` [args] [args] または以前の引数でプログラムを実行する
14021402 `:Arguments ` {args} 次の `:Run ` のために引数を設定する
14031403 *:Break* カーソル位置にブレークポイントを設定する
1404- :Break {position}
1404+ :Break [ {position} ] [thread {nr} ] [if {expr} ]
14051405 指定位置にブレークポイントを設定する
1406+ {position} が省略された場合は、現在のファイルと行を使用する
1407+ thread {nr} は、ブレークポイントを 1 つのスレッドに制限する
1408+ if {expr} は条件付きブレークポイントを設定する
1409+ 例: >
1410+ :Break if argc == 1
1411+ :Break 42 thread 3 if x > 10
1412+ :Break main
1413+ <
14061414 *:Tbreak* カーソル位置に一時的なブレークポイントを設定する
1407- :Tbreak {position}
1408- 指定位置に一時的なブレークポイントを設定する
1415+ :Tbreak [{position} ] [thread {nr} ] [if {expr} ]
1416+ `:Break ` と同様だが、そのブレークポイントは一度ヒットすると削
1417+ 除される。
1418+ 例: >
1419+ :Tbreak if argc == 1
1420+ :Tbreak 42 thread 3 if x > 10
1421+ :Tbreak main
1422+ <
14091423 *:Clear* カーソル位置のブレークポイントを削除する
14101424 *:ToggleBreak* カーソル位置にブレークポイントを設定するか、カーソル位置にある
14111425 すべてのブレークポイントを削除する
Original file line number Diff line number Diff line change 1- *terminal.txt* For Vim version 9.2. Last change: 2026 Feb 24
1+ *terminal.txt* For Vim version 9.2. Last change: 2026 Mar 12
22
33
44 VIM REFERENCE MANUAL by Bram Moolenaar
@@ -1427,11 +1427,25 @@ gdb:
14271427 `:Arguments ` {args} set arguments for the next `:Run `
14281428
14291429 *:Break* set a breakpoint at the cursor position
1430- :Break {position}
1430+ :Break [ {position} ] [thread {nr} ] [if {expr} ]
14311431 set a breakpoint at the specified position
1432+ if {position} is omitted, use the current file and line
1433+ thread {nr} limits the breakpoint to one thread
1434+ if {expr} sets a conditional breakpoint
1435+ Examples: >
1436+ :Break if argc == 1
1437+ :Break 42 thread 3 if x > 10
1438+ :Break main
1439+ <
14321440 *:Tbreak* set a temporary breakpoint at the cursor position
1433- :Tbreak {position}
1434- set a temporary breakpoint at the specified position
1441+ :Tbreak [{position} ] [thread {nr} ] [if {expr} ]
1442+ like `:Break ` , but the breakpoint is deleted after
1443+ it is hit once
1444+ Examples: >
1445+ :Tbreak if argc == 1
1446+ :Tbreak 42 thread 3 if x > 10
1447+ :Tbreak main
1448+ <
14351449 *:Clear* delete the breakpoint at the cursor position
14361450 *:ToggleBreak* set a breakpoint at the cursor position or delete all
14371451 breakpoints at the cursor position
You can’t perform that action at this time.
0 commit comments