Commit graph

14 commits

Author SHA1 Message Date
Ben Jackson
a4db7008df Add and document why mono debugger doesn't work 2019-06-23 21:39:27 +01:00
Ben Jackson
a894ae0126 Add minimal test case for csharp 2019-06-22 16:48:29 +01:00
Ben Jackson
132b284dcd Improve tests 2019-05-16 21:08:18 +01:00
Ben Jackson
a2fac43d29 Move rarely useful script out of the way 2019-05-16 21:05:50 +01:00
Ben Jackson
3ce0185328 Add more code to test app for java 2019-02-12 21:44:00 +00:00
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