-
Notifications
You must be signed in to change notification settings - Fork 177
Open
Description
Description
Reminds me of #688, but maybe it's unrelated.
Is it reproducible in vim?
Reproducible in Vim
Works with clean config?
Yes
Sample project works?
No sample project for this filetype
Minimal Reproduction
List of steps to reproduce:
- Run
vim --clean -Nu ~/.vim/plugged/vimspector/support/minimal_vimrc foo.cpp(the file,foo.cpp, should be irrelevant) - Execute
:set nowb,:set nobk,:set hid. - Execute
:call vimspector#Launch(), and give a pid, presumably the one relative to the running executable corresponding tofoo(I guess you can attach in any way and to any executable, really) - Execute
:call vimspector#Restart()a few times - Execute
:lsto see the spurious buffers.
Expected Behaviour
:ls should not show an increasing number of buffer the more times I Restart().
Actual Behaviour
:ls of step 5 above gives (assuming one restarted twice):
:ls
1 %a "foo.cpp" line 5
8 h- "_vimspector_log_0_Vimspector_2274514" line 0
11 hF "!/bin/sh [finished]" line 1
12 hF "!/bin/sh (1) [finished]" line 1
13 aR "!/bin/sh (2) [running]" line 0
Additional information
No response
Installation Type
Plugin Manager (git clone)
Vimspector version
Debug Info
Log file
Vim version
VIM - Vi IMproved 9.1 (2024 Jan 02, compiled May 03 2025 20:47:29)
Included patches: 1-1362
Compiled by Arch Linux
Huge version with GTK3 GUI. Features included (+) or not (-):
+acl +cindent +cursorshape +file_in_path +job +menu +mouse_urxvt +popupwin +signs -tag_any_white +user_commands +windows
+arabic +clientserver +dialog_con_gui +find_in_path +jumplist +mksession +mouse_xterm +postscript +smartindent +tcl/dyn +vartabs +writebackup
+autocmd +clipboard +diff +float +keymap +modify_fname +multi_byte +printer -sodium +termguicolors +vertsplit +X11
+autochdir +cmdline_compl +digraphs +folding +lambda +mouse +multi_lang +profile +sound +terminal +vim9script +xattr
-autoservername +cmdline_hist +dnd -footer +langmap +mouseshape -mzscheme -python +spell +terminfo +viminfo -xfontset
+balloon_eval +cmdline_info -ebcdic +fork() +libcall +mouse_dec +netbeans_intg +python3/dyn +startuptime +termresponse +virtualedit +xim
+balloon_eval_term +comments +emacs_tags +gettext +linebreak +mouse_gpm +num64 +quickfix +statusline +textobjects +visual -xpm
+browse +conceal +eval -hangul_input +lispindent -mouse_jsbterm +packages +reltime -sun_workshop +textprop +visualextra +xsmp_interact
++builtin_terms +cryptv +ex_extra +iconv +listcmds +mouse_netterm +path_extra +rightleft +syntax +timers +vreplace +xterm_clipboard
+byte_offset +cscope +extra_search +insert_expand +localmap +mouse_sgr +perl/dyn +ruby/dyn +tag_binary +title +wildignore -xterm_save
+channel +cursorbind -farsi +ipv6 +lua/dyn -mouse_sysmouse +persistent_undo +scrollbind -tag_old_static +toolbar +wildmenu
system vimrc file: "/etc/vimrc"
user vimrc file: "$HOME/.vimrc"
2nd user vimrc file: "~/.vim/vimrc"
3rd user vimrc file: "~/.config/vim/vimrc"
user exrc file: "$HOME/.exrc"
system gvimrc file: "/etc/gvimrc"
user gvimrc file: "$HOME/.gvimrc"
2nd user gvimrc file: "~/.vim/gvimrc"
3rd user gvimrc file: "~/.config/vim/gvimrc"
defaults file: "$VIMRUNTIME/defaults.vim"
system menu file: "$VIMRUNTIME/menu.vim"
fall-back for $VIM: "/usr/share/vim"
Compilation: gcc -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_GTK -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/cloudproviders -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr
/include/atk-1.0 -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include -I/usr/include/fribidi -I/usr/include/pixman-1 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/gio-unix-2.0 -I/usr/include/glib-2.0 -I/usr/lib/gli
b-2.0/include -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/sysprof-6 -pthread -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mn
o-omit-leaf-frame-pointer -g -ffile-prefix-map=/build/vim/src=/usr/src/debug/vim -flto=auto -D_REENTRANT -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1
Linking: gcc -Wl,-E -Wl,-rpath,/usr/lib/perl5/5.40/core_perl/CORE -Wl,-O1 -Wl,--sort-common -Wl,--as-needed -Wl,-z,relro -Wl,-z,now -Wl,-z,pack-relative-relocs -flto=auto -L/usr/local/lib -o vim -lgtk-3 -lgdk-3 -lz -lpangocairo-1.0 -lcairo-gobject -lgdk_p
ixbuf-2.0 -latk-1.0 -lpango-1.0 -lcairo -lharfbuzz -lgio-2.0 -lgobject-2.0 -lglib-2.0 -lSM -lICE -lXt -lX11 -lXdmcp -lSM -lICE -lm -ltinfo -lcanberra -lacl -lattr -lgpm -L/usr/lib -ltclstub8.6 -ldl -lz -lpthread -lm
Python version
No response
Neovim diagnostics
Operating System
No response
Declaration
- I have read and understood CONTRIBUTING.md
- I have read and understood the CODE_OF_CONDUCT.md
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels