delve/pkg
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
..
astutil proc: simplify next/step/stepout condition code 2020-04-04 11:00:54 -07:00
config service/dap: Add support for empty string in substitutePath (#3088) 2022-08-14 16:01:39 +02:00
dwarf pkg/dwarf/line: Fix parsing file table for DWARFv5 (#3090) 2022-08-05 19:16:38 +02:00
elfwriter terminal,service,proc/*: adds dump command (gcore equivalent) (#2173) 2021-01-29 13:39:33 -08:00
gobuild gobuild: drop support for building on Go < 1.10 (#2960) 2022-04-06 12:02:21 -07:00
goversion TeamCity,goversion: bump test matrix (#3092) 2022-08-05 12:04:26 -07:00
locspec proc,service: change FindLocation to work with multiple targets (#3103) 2022-09-26 10:12:34 -07:00
logflags service/rpccommon,service/dap: warn about listening to remote connections (#2721) 2021-09-29 09:53:27 +02:00
proc proc,service/debugger: track how breakpoints were originally set (#3148) 2022-09-28 11:35:07 -07:00
terminal proc,service/debugger: track how breakpoints were originally set (#3148) 2022-09-28 11:35:07 -07:00
version v1.9.1 (#3116) 2022-08-23 08:35:35 +02:00