Commit graph

10 commits

Author SHA1 Message Date
Ben Jackson
80985148e7 Add "run to cursor" support
We add a 'temporary' option to line breakpionts and try and clear any
temporary breakpionts on the line we end up stopping on. This might not
be art, but _probably_ works in almost all cases that matter.

it's a bit hacky the way we have to push the reason around, but we don't
know where we stopped until we actually get the stack trace response and
SetCurrentFrame

Move temporary breakpionts to match server response

Also delete any existing ones when adding a new one and add tests for
run-to-cursor.

Only continue after we successfully set the breakpoints. This makes it
work in go
2020-10-23 22:53:04 +01:00
Ben Jackson
16f22b396f Fix breakpoint event
Few problems:
 - we were passing a dict instead of a list of breakpoints
 - if the breakpoint had a source which was {} we crashed
 - we didn't support the 'removed' event
2020-10-10 16:04:46 +01:00
Ben Jackson
db4e60aca5 Add a manual test for the calculated variables 2020-09-11 15:43:53 +01:00
Ben Jackson
9df680089b Allow default configuraiton to be specified; document selection 2020-07-16 08:33:49 +01:00
Ben Jackson
90bbbe90f5 Default some cpptools args: 2020-05-17 14:07:56 +01:00
Ben Jackson
be26098315 Remove workaround for broken cpptools 2020-04-03 21:05:34 +01: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
5586d9e694 Allow setting exception breakpoints in debug config 2019-11-05 18:35:36 +00:00
Ben Jackson
59a8d1b578 Implenent most of the vscode variables 2019-07-25 23:13:32 +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