Ben Jackson
8bb7017a49
Handle failed breakpoint messages
2020-01-10 09:28:02 +00:00
Ben Jackson
b95fe20845
Frame is not reqiured for evaluation
2020-01-10 09:26:13 +00:00
Ben Jackson
8d7de7172a
Allow arbitrary ssh args
2020-01-10 09:26:13 +00:00
tinmarino
1e153910fa
Fix: Remove balloon '...' in windows != code_window
...
Problem: In non-code window, user see a '...' balloon even if python
knows it does not need to work
Solution: use pyeval in vim so that python's knowledge is getting back
from the stack as return value
2020-01-09 20:37:03 -03:00
Ben Jackson
6944cb7c1f
Fix tracebnack when no source in stack frame
2019-12-22 21:33:16 +00:00
Ben Jackson
ed6beff03b
Enable syntax highlighting for watches and locals
2019-12-15 10:48:21 +00:00
Ben Jackson
7d046574cb
Add tests for toggling breakpoint and inserting line
2019-12-14 18:03:34 +00:00
Ben Jackson
16c3b65cae
If signs are moved by user actions, use the current lnum of the sign for the breakpoint.
2019-12-14 15:51:04 +00:00
Ben Jackson
25b22d2a9e
Allow gadget config to set up default values for launch configuration
2019-11-05 19:02:17 +00:00
Ben Jackson
0057094179
Allow gadget config in .gadgets.d to override the installed config
2019-11-05 19:02:17 +00:00
Ben Jackson
5586d9e694
Allow setting exception breakpoints in debug config
2019-11-05 18:35:36 +00:00
Ben Jackson
f173a043be
Find the vimspector config from the parent of the open file not the current working directory
2019-11-05 18:35:23 +00:00
Ben Jackson
28b6964aea
Support sourceReferences and Source request
2019-11-02 09:34:59 +00:00
Ben Jackson
2931f79d15
Don't crash when no file is open on start
2019-10-27 19:09:33 +00:00
Ben Jackson
12df3c53a2
Allow selecting a specific launch config on LaunchWithSettings
2019-10-26 13:10:44 +01:00
Ben Jackson
a04dfcb4db
Update vscode-python and document the startup sequence, which is clearly broken in vscode-python
2019-10-13 18:40:31 +01:00
Ben Jackson
63f8543d8f
The chrome debugger doesn't return 'line' in some stack frames. Fix a bug for expensive scopes
2019-10-06 22:19:19 +01:00
Ben Jackson
b64946e34c
Remember user choices
...
There are 2 things we ask for input for:
- input variables
- exception breakpoints
It's irritating to have to repeat yourself when going through the
edit/debug loop.
Howver, cacheing has some quirks and disadvantages - they key one being
when to clear the cache. To resolve this we take two slightly different
approaches:
1. For input variables, we remember the choice of the user, but present
that only as the default, so they can just hit enter to accept it. We
already rememeber the choices for the length of the debug session (i.e.
across 'restart' calls).
2. For exception breakpoints, we remember the choices for as long as the
current session is running.
This allows users to hit the 'restart' button without being prompted at
all.
Meanwhile, we also remove the (broken) support for exception breakpoint
matchers and state the server default for exception breakpoint filters.
2019-10-05 22:20:33 +01:00
Ben Jackson
799aacdcda
RunInTermal: Re-use a completed terminal
2019-10-01 21:47:06 +01:00
Ben Jackson
53d3f8f64b
Fix inputrestore
2019-08-04 19:37:23 +01:00
Ben Jackson
dcc2c6c365
Manual python test
2019-08-04 15:20:54 +01:00
Ben Jackson
553eb3cc98
Appease flake8
2019-07-31 19:19:14 +01:00
Ben Jackson
b6a2e3df9e
Delay configurationDone until we have received _responses_ to the breakpoint requests, as go server seems to require this
2019-07-31 19:02:09 +01:00
Ben Jackson
7d498a13be
More variable debugging
2019-07-27 11:32:23 +01:00
Ben Jackson
5076c62ed2
Ensure the handler runs by setting it before killing the job. The callback must be being called syncronously if the process terminates immediately
2019-07-27 11:23:54 +01:00
Ben Jackson
0b7915e0d9
More debugging; why is the shutdown handler sometimes not firing
2019-07-27 11:18:32 +01:00
Ben Jackson
c27502668d
Remove log spam
2019-07-27 10:57:50 +01:00
Ben Jackson
3edd1589c3
Try and work out why the server exit handler isn't called
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
325d39b64d
Improve debugging of flaky tests
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
1e54e457d4
Finally fix breakpoint bugs
2019-07-27 10:57:50 +01:00
Ben Jackson
9fc0a16912
Tidy up clearing breakpoints
2019-07-27 10:57:50 +01:00
Ben Jackson
a7f5b46e00
Add some debug to breakpoints
2019-07-27 10:57:50 +01:00
Ben Jackson
942e04ef4d
Update the UI when the connection dies
2019-07-27 10:57:50 +01:00
Ben Jackson
2f8a0b0e97
Update gdbserver comment
2019-07-27 10:57:50 +01:00
Ben Jackson
98effd3355
Allow dependent groups of variables in a list
2019-07-26 18:29:05 +01:00
Ben Jackson
59a8d1b578
Implenent most of the vscode variables
2019-07-25 23:13:32 +01:00
Ben Jackson
d8d22b15bc
Allow variables to reference other variables in other layers
2019-07-25 23:10:25 +01:00
Ben Jackson
cee10c8187
fix tabpage errors
2019-07-04 00:40:10 +01:00
jpfeiffer16
25f45a7771
Fix typo in event listener method 'OnEvent_capabilities'
2019-06-22 16:29:50 +01:00
jpfeiffer16
01c0f070ff
Tolerate buggy servers not supplying mandatory 'expensive' tag
...
Do not fail variable lookup if an element does not have the 'expensive' key
2019-06-22 16:29:28 +01:00
Ben Jackson
d458d06bc5
Use the same version as the current macvim
2019-06-08 10:49:26 +01:00
Ben Jackson
132b284dcd
Improve tests
2019-05-16 21:08:18 +01:00
Ben Jackson
de136f5db4
Allow running a command after remote attach
...
gdbserver has a bug which means that it can't actually attach to running
processes on some versions due to sending signals to the wrong PID (not
the process group leader, or something). The workaround is to manually
send kill -TRAP to the PID in order for the initial break to be
regiseterd.
Doing this manually is painful, so we allow the remote object to run a
command after having successfully initialized the engine, which is about
the time you need to kick the trap/breakpoint.
https://sourceware.org/bugzilla/show_bug.cgi?id=18945
2019-05-01 13:38:25 +01:00
Ben Jackson
b3d05f4672
Fix typo in UI
2019-04-28 14:16:20 +01:00
Ben Jackson
470c64603a
Add ClearBreakpoints API
...
Add a test which actually triggers the mappings and fires up vimspector
with the cpptools debugger.
2019-04-28 10:51:15 +01:00
ousttrue
62130ad525
fix typo
2019-04-28 06:31:56 +09:00
Ben Jackson
4f31c95aa4
Fix flake8 errors
2019-04-27 14:21:26 +01:00
Ben Jackson
e80c874e3b
Toggle the state before handling the message. I think this implies there is some re-entrancy here that i am not handling correctly, but this fixes an issue with vscode-python (for now)
2019-04-02 16:27:37 +01:00