Commit graph

69 commits

Author SHA1 Message Date
Ben Jackson
e885c95daa Put the cursor at the end of the buffer after evaluations 2020-07-18 18:14:39 +01:00
Ben Jackson
99b582378a Allow ctrl-c to cancel when asked for a variable 2020-07-18 14:39:54 +01:00
Ben Jackson
47ace82364 FixUp: output window should set the global win id 2020-07-18 13:55:00 +01:00
Ben Jackson
80afb153b9 FixUp: Closing the output window causes errors on output 2020-07-18 13:21:17 +01:00
Ben Jackson
b1fd15c56a Add a test for expanding watches 2020-07-16 08:33:49 +01:00
Ben Jackson
9faa8aa6f7 Fix test timing issue, so it passes on llvm and gdb 2020-07-16 08:33:49 +01:00
Ben Jackson
4f0847bcf8 Match the output on linux and mac 2020-07-16 08:33:49 +01:00
Ben Jackson
6d020a50de Fix removing all assert errors, properly this time 2020-07-16 08:33:49 +01:00
Ben Jackson
79a8ad40a4 Use my fork of vint; fix some lint 2020-07-16 08:33:49 +01:00
Ben Jackson
97f6dd29a6 Add some tests for expand/collapse variables; todo - fails on gdb/linux 2020-07-16 08:33:49 +01:00
Ben Jackson
9df680089b Allow default configuraiton to be specified; document selection 2020-07-16 08:33:49 +01:00
Ben Jackson
727214c599 Add a bunch of tests for the ui customisation 2020-07-16 08:33:49 +01:00
Ben Jackson
6cfc313234 Do a better job of tidying up on test failure; note: We can still receive data callbacks after _OnExit, so just ignore that data 2020-07-10 22:49:30 +01:00
Ben Jackson
50b8b0103c Fix sequence of scopes/vars to match the server 2020-07-08 16:13:15 +01:00
Ben Jackson
5f11fe4e6e Fix up vint errors 2020-05-19 20:27:28 +01:00
Ben Jackson
8c4112cd1f breakpoints list: fix listing while debugging
Also, open the quickfix list when listing breakpoints, and add a test
2020-05-17 21:40:51 +01:00
Ben Jackson
90bbbe90f5 Default some cpptools args: 2020-05-17 14:07:56 +01:00
Ben Jackson
c6d6c7f876 Support "multi-session" mode properly
Document remote debugging and add a test
2020-05-17 14:07:56 +01:00
Ben Jackson
fd6b353782 Reset the tab test more robustly 2020-05-12 19:39:32 +01:00
Ben Jackson
2451d56de4 Make tests work in manual container: install delve. This has to be done as the user because go 2020-05-08 13:11:17 +01:00
Ben Jackson
abd8ba7d38 Stabilise some tests 2020-05-08 11:50:38 +01:00
Ben Jackson
77522cbd44 Add way to run tests using my in-development vim debugger 2020-04-26 13:08:27 +01:00
Ben Jackson
77dc400077 test and doc updates for conditional breakpoints
use a better description of hit condition and describe the options dict.
2020-04-26 13:04:51 +01:00
Ben Jackson
be26098315 Remove workaround for broken cpptools 2020-04-03 21:05:34 +01:00
Ben Jackson
1003cdc0b2 Add a splash popup while starting up
Sometimes it can take quite a while to start up and initialise the debug
adapter. So we use popup/float to display the status as we start up and
shut down.

This increases minimum Vim version to 8.2, but that's been out for ages
now and I intend to agressively require latest/later vim/neovim
versions.
2020-03-26 23:25:50 +00:00
Ben Jackson
8052484cc7 Use YCM python style 2020-02-08 21:15:27 +00:00
Ben Jackson
1da905a955 Upgrade to macOS 10.14
In Mojave, the TCL headers were removed, so we install brew tcl.

Oh and the all of the nonesense around authorizing applications to
connect a debugger mean the tests don't work, so we force LLDB to use
the system debugserver with LLDB_DEBUGSERVER_PATH.
2020-01-27 21:35:15 +00:00
Ben Jackson
f6eccf1314 More: Import latest YCM test framework changes 2020-01-15 23:17:15 +00:00
Ben Jackson
6ee8f7875d Tests: Import test framework changs from YCM 2020-01-15 23:17:15 +00:00
Ben Jackson
7d046574cb Add tests for toggling breakpoint and inserting line 2019-12-14 18:03:34 +00:00
Ben Jackson
5586d9e694 Allow setting exception breakpoints in debug config 2019-11-05 18:35:36 +00:00
Ben Jackson
12df3c53a2 Allow selecting a specific launch config on LaunchWithSettings 2019-10-26 13:10:44 +01:00
Ben Jackson
d29b0ebcfd Fix installation issues 2019-10-23 00:25:02 +01:00
Ben Jackson
6734a94ba8 Python auto test 2019-08-06 20:58:48 +01:00
Ben Jackson
1da94177df Install node 2019-08-03 22:14:56 +01:00
Ben Jackson
dbebb1f154 Fix vim in docker image 2019-08-03 22:14:56 +01:00
Ben Jackson
932b1f57c3 Revert .bashrc 2019-08-03 22:14:56 +01:00
Ben Jackson
df8c0179d1 Print env 2019-08-03 22:14:56 +01:00
Ben Jackson
29989ffbfb Test for go 2019-08-03 22:14:56 +01:00
Ben Jackson
44b8100078 Add another test file from #43 2019-07-27 10:57:50 +01:00
Ben Jackson
6f9fe0cd6f Increase timeout and yet more debug logging 2019-07-27 10:57:50 +01:00
Ben Jackson
17b85d2d72 Reset the actual vimspector, not a fresh one 2019-07-27 10:57:50 +01:00
Ben Jackson
7813f06dd1 May make the tests less flaky 2019-07-27 10:57:50 +01:00
Ben Jackson
4d484868f3 Wait for sign to be displayed 2019-07-27 10:57:50 +01:00
Ben Jackson
3a6a8ca0f2 Increase default timeout 2019-07-27 10:57:50 +01:00
Ben Jackson
1e54e457d4 Finally fix breakpoint bugs 2019-07-27 10:57:50 +01:00
Ben Jackson
e6904acddd Fix some asserts 2019-07-27 10:57:50 +01:00
Ben Jackson
9ea25da1a8 Use setpos as it is clearer 2019-07-27 10:57:50 +01:00
Ben Jackson
0464b456a8 Save the log file for failed tests 2019-07-27 10:57:50 +01:00
Ben Jackson
34df47fe35 Make reset reliable by waiting for it to finish 2019-07-27 10:57:50 +01:00