Vim icon indicating copy to clipboard operation
Vim copied to clipboard

Garbled character displayed on current debug line in normal mode

Open moeleak opened this issue 10 months ago • 0 comments

Describe the bug When debugging C++ code in VS Code with the VSCodeVim extension enabled, the visual indicator for the current execution line renders incorrectly. Instead of the standard VS Code marker, a garbled character is displayed, overlaying the code text on the highlighted line.

To Reproduce Steps to reproduce the behavior:

  1. Ensure the VSCodeVim extension is enabled.
  2. Open a C++ project configured for debugging.
  3. Set a breakpoint on an executable line of C++ code (like the std::cout line shown in the video).
  4. Start a debugging session (e.g., press F5).
  5. Step through the code (e.g., using F10) until execution pauses on the line containing the breakpoint.
  6. Observe the visual indicator for the current execution line.

Expected behavior The current stack frame indicator should display correctly as defined by VS Code's theme and settings (usually a yellow arrow in the gutter and/or a full line highlight). There should be no unexpected or garbled characters overlaying the code on that line due to the VSCodeVim extension.

Screenshots Here is a GIF derived from the video showing the issue:

Image

Environment (please complete the following information):

  • Extension (VsCodeVim) version: 1.29.0
  • VS Code version: 1.98.2
  • OS: macOS 15.4 ARM

Additional context

  • The issue appears specifically related to the rendering of the current debug line highlight when VSCodeVim is active.
  • Disabling the VSCodeVim extension resolves the issue, and the standard VS Code debug highlighting appears correctly.
  • This does not seem related to key remappings, but rather a visual rendering conflict between the extension and VS Code's debugging UI.

moeleak avatar Apr 02 '25 08:04 moeleak