puremourning / vimspector

vimspector - A multi-language debugging system for Vim
http://puremourning.github.io/vimspector-web
Apache License 2.0
4.08k stars 171 forks source link

RunToCursor mapping is missing for s:mappings == VISUALSTUDIO #822

Closed obaterspok closed 7 months ago

obaterspok commented 8 months ago

Description

The mapping for RunToCursor is Ctrl+F10 in VS so should the below line be added as well: nmap VimspectorRunToCursor

But, I did add this and it still single stepped (or next'ed)

Is it reproducible in vim?

Reproducible in Vim

Works with clean config?

No

Sample project works?

Not reproducible with sample project

Minimal Reproduction

List of steps to reproduce:

  1. Run vim ---clean Nu /path/to/vimspector/support/minimal_vimrc ....
  2. Open this project...
  3. Press this sequence of keys

Expected Behaviour

Well, Ctrl+F10 for run to line :)

Actual Behaviour

It does a next

Additional information

No response

Installation Type

Plugin Manager (git clone)

Vimspector version

master as of 2024-01-09

Debug Info

No response

Log file

No response

Vim version

9

Python version

No response

Neovim diagnostics

No response

Operating System

No response

Declaration

puremourning commented 8 months ago

I pushed a PR to add this mapping.

If mapping for control + F10 doesn't work, you may need to sort out your terminal emulator etc.

obaterspok commented 8 months ago

Thanks. It worked just fine once I used a different terminal. Another binding that is missing for VS is: Ctrl+Shift + F9 for resetAllBreakpoints