Skip to content

Many unlisted buffers are left opened after :VimspectorReset #879

@ubaldot

Description

@ubaldot

Description

I noticed that when Vimspector is closed, lot of unlisted Vimspector-related buffers are kept loaded.
Also, breakpoint signs on the source code files don't seem to be removed. I am using debugpy gadget.

Is it reproducible in vim?

Reproducible in Vim

Works with clean config?

Yes

Sample project works?

Not reproducible with sample project

Minimal Reproduction

  1. Open Vimspector and then close it.
  2. run :ls u

You should see something like the following:

  4u  -  "vimspector.StackTrace[0]"     line 1
  5u     "vimspector.Watches[0]"        line 1
  6u  -  "vimspector.Variables[0]"      line 1
  7u     "[No Name]"                    line 1
  8u     "vimspector.Console[0]"        line 1
  9u  -  "vimspector.Output:stderr[0]"  line 1
 10u  -  "_vimspector_log_0_Vimspector" line 1
 13u  -  "vimspector.Output:server[0]"  line 1

Expected Behaviour

Unlisted Vimpspector-related buffers are wiped out when exiting vimspector.

Actual Behaviour

Unlisted Vimpspector-related buffers are not wiped out when exiting vimspector.

Additional information

No response

Installation Type

Plugin Manager (git clone)

Vimspector version

af13695

Debug Info

No response

Log file

No response

Vim version

VIM - Vi IMproved 9.1 (2024 Jan 02, compiled Jun 24 2024 00:58:05)
Included patches: 1-516

Python version

No response

Neovim diagnostics

No response

Operating System

Ubuntu 24.04 on WSL2 over Win10 machine.

Declaration

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions