Commit graph

9 commits

Author SHA1 Message Date
Ben Jackson
6f805db24b Add extra conf for c project 2019-01-05 10:39:05 +00:00
Ben Jackson
5060b0821e Split c test json file. Still doesn't work for some reason 2018-12-20 13:44:37 +00:00
Ben Jackson
14603ae72f Support java debugging
The java architecture is a little different:

- the debugger is a jdt.ls extension bundle.
- to start the server, you send a startDebugSession command to jdt.ls
- this returns a tcl port to connect to for DAP

Loading of jdt.ls and the extension are out of scope for vimspector
currently and instead you can tell it to ask you for a port to connect
to.

After connexting to that port, vimspector works as normal.

To support TCP/IP was pretty simple: we provide the same API from
vimscript as the job-based (stdin/out) comms layer, but instead just
directly use a channel.

The only wrinkle was that the java debug adapter broke the protocol on
runInTerminal and didn't return a 'cwd', so we make one up.
2018-12-20 00:29:45 +00:00
Ben Jackson
ba0c11392d Fix python debugger again 2018-05-28 22:22:00 +01:00
Ben Jackson
171e1b58d5 Squash some distrating warnings 2018-05-22 23:00:26 +01:00
Ben Jackson
b249b3c9e3 Add missing python test file 2018-05-22 01:26:11 +01:00
Ben Jackson
2c5caf9cf5 Ignore some build output 2018-05-20 21:12:04 +01:00
Ben Jackson
f55dc8cd8e StepOut and Continue 2018-05-20 16:18:40 +01:00
Ben Jackson
8437397491 Actually connect to a real debug server and add some basic debugging
UI is totally placeholder
Step over/step in are the only supported commands
Hardcoded launch config using a specific debug adapter that happened to
work
Adds a trivial log file hack and fixes the protocol handler for bytes
2018-05-20 15:11:58 +01:00