vimspector - A multi-language debugging system for Vim http://puremourning.github.io/vimspector-web
Find a file
Ben Jackson 7d3af848cf Separate out the display of 'requested' and 'applied' breakpoints
This is a mess, with a load of duplication, but it's a step. When you
request a breakpoint, we add one (in state ENABLED). You can then toggle
it again to change to DISABLED. And once more to delete it.

Once we start the debug server, that all changes and we just start
sending the breakpoints directly to the server and updating based on the
responses. This is far from ideal and somewhat jarring, but this
approach allows me to play around with ideas about what the user
experience should look like.
2018-05-26 19:54:45 +01:00
autoload First attempt to make breakpoints work. Doesn't. Python at least responds with the breakpoints. MS CPP does not, and native debug just throws an error 2018-05-22 23:59:15 +01:00
plugin Talk to a job from python 2018-05-16 02:31:23 +01:00
python3/vimspector Separate out the display of 'requested' and 'applied' breakpoints 2018-05-26 19:54:45 +01:00
support Squash some distrating warnings 2018-05-22 23:00:26 +01:00
.gitignore Talk to a job from python 2018-05-16 02:31:23 +01:00
.vimspector.json Fix setting of line breakpoints 2018-05-26 18:49:23 +01:00
LICENCE Talk to a job from python 2018-05-16 02:31:23 +01:00
README.md Demo is too big 2018-05-22 01:41:24 +01:00
tox.ini Talk to a job from python 2018-05-16 02:31:23 +01:00

vimspector - A multi language debugger for Vim

Status

This is a work in progress. It barely functions.

About

The motivation is that debugging in Vim is a pretty horrible experience, particularly if you use multiple languages. With pyclewn no more and the built-in termdebug plugin limited to gdb, I wanted to explore options.

While Language Server Protocol is well known, the Debug Adapter Protocol is less well known, but achieves a similar goal: language agnostic API abstracting debuggers from clients.

The aim of this project is to provide a simple but effective debugging experience in Vim for multiple languages, by leveraging the debug adapters that are being built for VScode.

The ability to do remote debugging is a must. This is key to my workflow, so baking it in to the debugging experience is a top bill goal for the project.

Features

None yet.

Supported Languages

None yet.

Demo

Well there is a proof of concept, showing some of the features and the use of different debug adapters and languages (c++ and Python):

Yes, it's buggy right now, and the UI is all placeholder, but it shows that there is some potential, I think.

FAQ

  1. Q: Does it work? A: Not yet.

License

Apache 2.0

Copyright © 2018 Ben Jackson