Commit graph

894 commits

Author SHA1 Message Date
Ben Jackson
b5e0da6c08 Remove duplicate InsatllDebubgpy from instaler.py 2020-12-02 20:55:33 +00:00
Ben Jackson
dd4460598a Print errors when json parsing fails
Closes #258
2020-12-02 20:47:18 +00:00
Ben Jackson
a324074585 Move gadgets into plugins 2020-12-02 20:46:38 +00:00
Ben Jackson
c3b2a12f75 Split gadget specs into separate commands 2020-12-02 20:44:51 +00:00
Ben Jackson
573121ee08
Merge pull request #312 from puremourning/watch-errors 396711812
Print failure when watch expression errors
2020-12-02 18:19:39 +00:00
Ben Jackson
632e6696ef Add SSH login for failures 2020-12-02 18:06:37 +00:00
Ben Jackson
c531686d39 Use the cask of macvim because apparently the formula requires building gcc from source 2020-12-02 18:06:37 +00:00
Ben Jackson
2eac9ddff8 Print failure when watch expression errors 2020-12-02 15:26:30 +00:00
Ben Jackson
8e2d352eb8 Fix local adapter specs 391365729
Somehow we lost the ability to define adapters in the local
.vimspector.json, I think when GetConfigurations was added.

Put that feature back.
2020-11-30 10:19:02 +00:00
mergify[bot]
4ac9785217
Merge pull request #308 from andwilley/docs/update-java-example 388567332
Add detail about potential troubleshooting. Recommend jsdls_extension…
2020-11-28 11:51:17 +00:00
Drew Willey
4a45753a4c Add detail about potential troubleshooting. Recommend jsdls_extension_path be set in vimrc. 2020-11-27 21:16:51 -07:00
Ben Jackson
e15c50a4f4 Don't request strack trace if the thread isn't stopped 387960492 2020-11-28 00:17:42 +00:00
Ben Jackson
17a9494dbc
Merge pull request #306 from felixfeit/patch-1 385796234
Fix typos.
2020-11-26 18:43:04 +00:00
felixfeit
4db4880b6d
Fix typos. 2020-11-26 19:31:46 +01:00
Ben Jackson
4c2b3bd886
Make it clear that the mappings have to be enabled 385224917 2020-11-26 12:38:34 +00:00
Ben Jackson
e6500d39d8
Neovim has prompt buffers in nightly 2020-11-26 12:11:23 +00:00
mergify[bot]
ff4acb17d1
Merge pull request #303 from eduardomezencio/lua-fix-configs 377821143
Improve lua configuration and test files
2020-11-22 21:55:53 +00:00
Eduardo Mezêncio
4f03e4f65a Improve lua configuration and test files
Change lua test files to call `require 'lldebugger'` only when using
love, because it's not needed with lua or luajit. Also add `stopOnEntry`
key to test `.vimspector.json` because it works correctly with this
change.
2020-11-22 18:38:40 -03:00
mergify[bot]
23130d74ad
Merge pull request #297 from puremourning/threads 377436559
[WIP] Improve Threads Handling
2020-11-22 15:07:22 +00:00
Ben Jackson
5ab92a7e67 Breakpont tests too flaky 2020-11-22 14:54:02 +00:00
Ben Jackson
979c1e8779 Reshuffle README 2020-11-22 14:35:30 +00:00
Ben Jackson
a9d0ebde0b Add mapping for Focus, and make focusing a stack frame focus the thread 2020-11-22 14:13:15 +00:00
Ben Jackson
82307ff1ba Correctly handle the 'continue' response when continuing a specific thread 2020-11-22 14:13:15 +00:00
Ben Jackson
7d5ad3ffa1 Another flaky test 2020-11-22 14:13:15 +00:00
Ben Jackson
8801c2dac4 Fix pause/continue of individual threads
work around buggy java server sending invalid threads response.

java server supports this separate threads running/paused as a test
case.
2020-11-22 14:13:14 +00:00
Ben Jackson
e1c1347bdd Fix lint 2020-11-22 14:13:14 +00:00
Ben Jackson
c769e8a479 Fix up the tests to work in linux container too 2020-11-22 14:13:14 +00:00
Ben Jackson
53b1d12447 Allow setting the current thread, use a sign to highlight the line with the current thread 2020-11-22 14:13:14 +00:00
Ben Jackson
8e3a734141 Support continued event properly 2020-11-22 14:13:14 +00:00
Ben Jackson
0f0d684e92 FixUp: comment about why we apply thread state in consume_threads 2020-11-22 14:13:14 +00:00
Ben Jackson
42cdff043a Redraw the screen each 20 retries
This allows us to eyeball why something is failing
2020-11-22 14:13:14 +00:00
Ben Jackson
f0785c11f2 Allow pausing individual threads (in theory) 2020-11-22 14:13:14 +00:00
Ben Jackson
a5d66a7477 Correctly track and now actually report running/paused status
It's quirky, we have to pass the stopped event to LoadThreads so that it
can correctly work out the state of any _newly_ added threads. We now
also correctly apply the allThreadsStopped=False behaviour where you
must not allow expansion of such threads (in theory, that's untested).
2020-11-22 14:13:14 +00:00
Ben Jackson
2399a79cae start to track individual thread state 2020-11-22 14:13:14 +00:00
Ben Jackson
e9e0e9e5b9 Test for new thread creation
- don't clear the stack trace on continue - track running status
  properly (ish)
- mark threads (running) when the app is executing
- indicate the "current" thread with a different icon

TODO:
- allow user to specify current thread?
- track running status of threads individually?
- allow to pause/continue specific threads?
2020-11-22 14:13:14 +00:00
Ben Jackson
e2ca9b5318 Threads tests WIP 2020-11-22 14:13:14 +00:00
mergify[bot]
e5a765409a
Merge pull request #302 from puremourning/updated-go 377362404
Update vscode-go to latest version
2020-11-22 13:39:46 +00:00
Ben Jackson
f87aa4aa19 Undo flakiness hack 2020-11-22 13:30:14 +00:00
Ben Jackson
07ec08e664 Fix clearing temp breakpoints - ensure that the isngs are undisplayed 2020-11-22 13:25:10 +00:00
Ben Jackson
3330c704d7 Too many flakes 2020-11-22 12:46:15 +00:00
Ben Jackson
87ce1734ea Update vscode-go to latest version 2020-11-22 12:31:21 +00:00
mergify[bot]
48e075624a
Merge pull request #301 from puremourning/winbar-neovim
Work around neovim WinBar rendering bug
2020-11-19 23:45:01 +00:00
Ben Jackson
b36f9e893a Work around neovim WinBar rendering bug 2020-11-19 23:29:13 +00:00
mergify[bot]
b7de25e3d1
Merge pull request #296 from puremourning/update-servers 366924211
Update servers
2020-11-16 22:09:48 +00:00
Ben Jackson
47c2cef2a1 Use a tag for tclpro to avoid installing every time 2020-11-16 21:17:36 +00:00
Ben Jackson
cd3b5f5baa Update mono debug; even though it doesn't work 2020-11-16 21:17:22 +00:00
Ben Jackson
5b88837919 Print the correct version for a git tag 366752461 2020-11-16 20:14:39 +00:00
Ben Jackson
888c558aa4
Merge pull request #294 from eduardomezencio/lua-support 366696381
Add lua support through local-lua-debugger-vscode
2020-11-16 19:35:13 +00:00
Eduardo Mezêncio
85865e0012 Add regression tests for lua support
Change Dockerfile to install lua, luajit and love and also to install
nodejs 12 needed to build the lua debug adapter. Create the
love-headless test in support/test/lua to test love without an x server.
2020-11-16 15:08:55 -03:00
Eduardo Mezêncio
7be6d852c6
Merge branch 'master' into lua-support 2020-11-16 15:04:26 -03:00