Commit graph

556 commits

Author SHA1 Message Date
Ben Jackson
2451d56de4 Make tests work in manual container: install delve. This has to be done as the user because go 1471 2020-05-08 13:11:17 +01:00
Ben Jackson
abd8ba7d38 Stabilise some tests 1469 2020-05-08 11:50:38 +01:00
Ben Jackson
bdfa0f92ab Fix typo 1467 2020-05-07 22:33:01 +01:00
Ben Jackson
3354db275b Update TOC 1466 2020-05-07 22:32:20 +01:00
Ben Jackson
ccf427a7c8 Update java instructions now YCM has nice API for it 2020-05-07 22:28:31 +01:00
mergify[bot]
3bf461c621
Merge pull request #157 from puremourning/update-debugpy 1432
Update debugpy to v1.0.0b8
2020-04-28 22:02:05 +00:00
Ben Jackson
56c0c721db Update debugpy to v1.0.0b8 2020-04-28 22:55:42 +01:00
mergify[bot]
16e1ae143b
Merge pull request #156 from puremourning/watch-improve 1425
Improve the watch window with a WinBar
2020-04-27 20:52:42 +00:00
Ben Jackson
a87c9e8715 Add motivation - people buy why not what 2020-04-27 20:59:12 +01:00
Ben Jackson
4586aa36ff Improve UI for watch window
Add a WinBar as the whole prompt buffer thing is not that well
undersood. Also allow you to delete a watch from any part of the
expression result too.
2020-04-26 21:31:22 +01:00
Ben Jackson
80ba644732 Use silent for mappings 1420 2020-04-26 20:03:33 +01:00
mergify[bot]
f4d855e1df
Merge pull request #155 from puremourning/conditional-breakpoints 1414
Conditional breakpoints tests
2020-04-26 13:09:11 +00: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
e153b9536e No longer need node 10 for the tests since debugpy 2020-04-26 11:34:03 +01:00
Ben Jackson
c25e9256aa Fix restart command in neovim when terminal in use 1411
Neovim doesn't allow you to replace a terminal buffer if the buffer has
received some output, so we tell it that the buffer is not modified as a
hackaround.

Fixes #154
2020-04-26 10:21:24 +01:00
mergify[bot]
1b71d84f58
Merge pull request #153 from puremourning/conditional-breakpoints 1410
Add basic support for conditional breakpoints
2020-04-26 06:44:57 +00:00
Ben Jackson
b20f61bcff Sigh, neovim doesn't support default method arguments 2020-04-25 20:07:03 +01:00
Ben Jackson
f6d12eff72 Few more minor doc updates 2020-04-25 19:57:53 +01:00
Ben Jackson
7a70519b03 Add basic support for conditional breakpoints
This is the minimal required for a user to use conditional breakpoint -
we add an options dict to each breakpoint (line and function) and allow
the condition to be supplied. We add a plug mapping and a default
shortcut (<leader><F9>) to add one where we ask the user to enter the
condition and hit expression. This isn't great but it works.

We don't check the capabilities, so they would just be ignored if used
on a server that doesn't support them. We also ask for a hit expression
which most users won't understand so this isn't ideal either.

No tests yet.
2020-04-25 19:57:42 +01:00
Ben Jackson
aed4144fe5 Update bashdb checkusm 1369 2020-04-15 16:13:19 +01:00
Ben Jackson
f0ee397f5d Update bashdb 2020-04-15 13:15:33 +01:00
mergify[bot]
31c13bd8eb
Merge pull request #150 from puremourning/troubleshooting
Add troubleshooting guide
2020-04-05 14:16:39 +00:00
Ben Jackson
d8d7a3f7c6
Merge branch 'master' into troubleshooting 2020-04-05 15:11:54 +01:00
mergify[bot]
b3760f43f9
Merge pull request #151 from puremourning/update-debugpy 1319
Update debugpy
2020-04-05 14:11:03 +00:00
Ben Jackson
980b80ebbb Add troubleshooting guide
Also make sure that the gadget installer and other docs are included in
the tarball installation.
2020-04-05 15:06:41 +01:00
Ben Jackson
a5a2966ba7 Update debugpy 2020-04-05 15:03:35 +01:00
mergify[bot]
c3105cf912
Merge pull request #148 from puremourning/cpptools-update 1313
Remove workaround for broken cpptools
2020-04-03 20:11:59 +00:00
Ben Jackson
be26098315 Remove workaround for broken cpptools 2020-04-03 21:05:34 +01:00
mergify[bot]
0918a72dd9
Merge pull request #147 from neiljohari/upgrade-cpptools
Bump version of vscode-cpptools from 0.26.3 to 0.27.0
2020-04-03 19:48:33 +00:00
Neil Johari
db6d9efb75
Bump version of vscode-cpptools from 0.26.3 to 0.27.0 2020-04-02 14:28:32 -04:00
mergify[bot]
7e29143a6f
Merge pull request #142 from puremourning/tweaks 1309
Tweaks
2020-04-01 16:03:27 +00:00
Ben Jackson
93edbe468b Add autoselect to configs - set to false to prevent being used when no other configs are defined 2020-04-01 16:46:06 +01:00
Ben Jackson
1b7d0caf26 Ignore loadedSource event 2020-04-01 16:44:51 +01:00
Ben Jackson
0e4cad302d Don't terminal debuggee 2020-04-01 16:44:51 +01:00
Ben Jackson
d0652187a3
Note what diagnostics are required, 1307 2020-03-31 13:33:58 +01:00
Ben Jackson
ae7e6d0b0c Clarify that Python 3.6 is required 1306
closes #143
2020-03-28 20:28:29 +00:00
Ben Jackson
5cb9c62e7f Fix tab creation when current buffer contains no file 1305 2020-03-28 13:07:00 +00:00
mergify[bot]
0a0cd88545
Merge pull request #139 from puremourning/no-name 1304
Don't create a new buffer when opening the vimspector tab
2020-03-28 10:19:25 +00:00
Ben Jackson
59f23c7545
Merge branch 'master' into no-name 2020-03-27 15:09:02 +00:00
mergify[bot]
87e80db94d
Merge pull request #140 from puremourning/loading
Add a splash popup while starting up
2020-03-26 23:31:13 +00: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
8664c0ad78 Don't create a new buffer when opening the vimspector tab 2020-03-26 21:13:04 +00:00
Ben Jackson
03d97dc58f
Merge pull request #136 from puremourning/json-comments
Support c-style comments in JSON
2020-03-23 11:06:21 +00:00
Ben Jackson
5d404708cf Fix CI on linux
Don't use lldb-mi as the MIDebugger when we're in gdb mode (it's on the
PATH because llvm is installed)
2020-03-21 17:01:15 +00:00
Ben Jackson
d42fd51f35 Support c-style comments in JSON
Debate rages about whether JSON should have comments. The specification
says it shouldn't but the author of JSON suggested that if you want to
use JSON for configuration, then pipe it through jsmin before parsing.

So that's what we do, using a tiny JSON minifier from
https://github.com/getify/JSON.minify/tree/python

Closes #135
2020-03-21 15:16:07 +00:00
Ben Jackson
9393c1d80e Don't run under sudo 2020-03-21 14:04:48 +00:00
mergify[bot]
36fbe5bba5
Merge pull request #134 from puremourning/docs-update 1278
Document: splat, central config dirs
2020-03-18 08:04:49 +00:00
Ben Jackson
a5765b153c Azure: Set explicit triggers (https://status.dev.azure.com/_event/179641421) 2020-03-14 16:46:53 +00:00
Ben Jackson
ec36099f97 Document: splat, central config dirs 2020-03-14 09:26:49 +00:00