delve/service/dap
Alessandro Arzilli ec5fcc07fe
proc,service/debugger: track how breakpoints were originally set (#3148)
Adds field to breakpoint struct to track how a breakpoint was
originally set, moves the logic for disabling and enabling a breakpoint
to proc.
This will allow creating suspended breakpoints that are automatically
enabled when a plugin is loaded. When follow exec mode is implemented
it will also be possible to automatically enable breakpoints (whether
or not they were suspended) on new child processes, as they are
spawned.

It also improves breakpoint restore after a restart, before this after
a restart breakpoints would be re-enabled using their file:line
position, for breakpoints set using a function name or a location
expression this could be the wrong location after a recompile.

Updates #1653
Updates #2551
2022-09-28 11:35:07 -07:00
..
daptest service/dap: support terminateDebuggee option for attach only (#2940) 2022-03-22 07:19:56 -07:00
command.go service/dap: support goroutine filters in dap (#2759) 2021-12-07 09:23:55 -08:00
config_test.go service/dap: Add support for empty string in substitutePath (#3088) 2022-08-14 16:01:39 +02:00
config.go service/dap: support goroutine filters in dap (#2759) 2021-12-07 09:23:55 -08:00
error_ids.go service-*: conform to godoc comments (#2916) 2022-03-09 09:12:42 -08:00
handles.go service/dap: implement array, slice, and map paging (#2512) 2021-06-10 09:34:20 -07:00
server_test.go service/dap: show full value when evaluating log messages (#3141) 2022-09-26 10:11:15 -07:00
server.go proc,service/debugger: track how breakpoints were originally set (#3148) 2022-09-28 11:35:07 -07:00
types.go service/dap: Add support for empty string in substitutePath (#3088) 2022-08-14 16:01:39 +02:00