[vim/vim] Termdebug display wrong file name in the GDB prompt buffer (Issue #12550)

30 views
Skip to first unread message

Linwei

unread,
Jun 16, 2023, 5:41:21 AM6/16/23
to vim/vim, Subscribed

Steps to reproduce

:packadd termdebug
:Termdebug xxx

and type "run" in the gdb prompt window

Expected behaviour

display the correct file name, not this:

图片

The full path of the executable is E:\Lab\workshop\scratch\scratch\test_gdb.exe

gdb displays is as ``E:\Lab\workshop\scratch\scratch\test_gdb.exe`

in the last segment of the path, the \\test has been replaced as a backslash and a tab character
(the tab character is visible as the bar character according to my listchar option).

This only happens on Windows.

Definitely a minor display error, but it would be nice to get fixed, since termdebug is the
only gdb front-end can work on MS Windows (excluding vscode).

I want to give it a go, and wish it could be polished on Windows.

Version of Vim

9.0.1627

Environment

OS: Windows 10
Terminal: None (GVim)

Logs and stack traces

No response


Reply to this email directly, view it on GitHub.
You are receiving this because you are subscribed to this thread.Message ID: <vim/vim/issues/12550@github.com>

Linwei

unread,
Jun 16, 2023, 5:59:09 AM6/16/23
to vim/vim, Subscribed

the display error happens in the command line as well:

图片

see the ^I in the right side of the command line.


Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.Message ID: <vim/vim/issues/12550/1594430453@github.com>

Christian Brabandt

unread,
Jun 16, 2023, 7:14:34 AM6/16/23
to vim/vim, Subscribed

Can you try if :set shellslash fixes the issue?


Reply to this email directly, view it on GitHub.

You are receiving this because you are subscribed to this thread.Message ID: <vim/vim/issues/12550/1594514914@github.com>

Linwei

unread,
Jun 16, 2023, 10:08:21 AM6/16/23
to vim/vim, Subscribed

same, after :set shellslash :

图片

and

图片


Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.Message ID: <vim/vim/issues/12550/1594742068@github.com>

Linwei

unread,
Jun 16, 2023, 10:14:19 AM6/16/23
to vim/vim, Subscribed

and I found that the breakpointer in the signcolumn is not displayed on Windows (I have disabled vim-signify and vim-signature for potential conflict).

The current line highlighting is invisible too.

I'm not sure is it related to the same issue (file name can't be correctly read) ?


Reply to this email directly, view it on GitHub.

You are receiving this because you are subscribed to this thread.Message ID: <vim/vim/issues/12550/1594752249@github.com>

Christian Brabandt

unread,
Jun 19, 2023, 12:24:46 PM6/19/23
to vim/vim, Subscribed

this seems to be a duplicate of #12560


Reply to this email directly, view it on GitHub.

You are receiving this because you are subscribed to this thread.Message ID: <vim/vim/issues/12550/1597459425@github.com>

Bram Moolenaar

unread,
Jun 24, 2023, 3:03:12 PM6/24/23
to vim/vim, Subscribed

Closed #12550 as completed via c9a4a8a.


Reply to this email directly, view it on GitHub.

You are receiving this because you are subscribed to this thread.Message ID: <vim/vim/issue/12550/issue_event/9627592499@github.com>

Reply all
Reply to author
Forward
0 new messages