]> git.ipfire.org Git - thirdparty/vim.git/commit
patch 9.1.1519: tests: Test_termdebug_decimal_breakpoints() may fail v9.1.1519
authorChristian Brabandt <cb@256bit.org>
Mon, 7 Jul 2025 17:38:27 +0000 (19:38 +0200)
committerChristian Brabandt <cb@256bit.org>
Mon, 7 Jul 2025 17:38:27 +0000 (19:38 +0200)
commitfaed074ab7dee8d1c89978090a674008c50f65d8
treedf714c685650d97dab590b7f2248237ceffa9325
parent57d6d004331f1770b5f04ba28ac242c0e0c8a005
patch 9.1.1519: tests: Test_termdebug_decimal_breakpoints() may fail

Problem:  Test_termdebug_decimal_breakpoints() fails with List index out
          of range, because when adding the second breakpoint, the
          cursor is still on the very first line (a header include line)
          and therefore gdb refuses to set the breakpoint with:
          `msg="No compiled code for line 1 in file XTD_decimal.c"`
Solution: Run the program, so that it will break at the very first
          defined breakpoint and then once we are in the program,
          set further breakpoints

closes: #17689

Signed-off-by: Christian Brabandt <cb@256bit.org>
src/testdir/test_plugin_termdebug.vim
src/version.c