delve/pkg/terminal
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
..
colorize terminal/colorize: avoid print multiple package by accidently ast.Node startPos==token.NoPos (#2898) 2022-02-10 09:50:31 -08:00
starbind proc,service/debugger: track how breakpoints were originally set (#3148) 2022-09-28 11:35:07 -07:00
command_test.go terminal: send large output to pager (#3060) 2022-08-17 09:02:53 +02:00
command.go proc,service/debugger: track how breakpoints were originally set (#3148) 2022-09-28 11:35:07 -07:00
config.go service/dap: add config expressions to evaluate requests (#2750) 2021-10-29 19:35:13 -07:00
disasmprint.go terminal: add ability to show disassembly instead of source (#3047) 2022-07-14 14:08:47 -07:00
docgen.go terminal: remove leftover GOPATH references (#3117) 2022-08-30 10:12:19 -07:00
groups.go terminal: divide commands into categories 2020-03-09 10:11:21 -07:00
out.go terminal: send large output to pager (#3060) 2022-08-17 09:02:53 +02:00
starlark_test.go go.mod: update starlark dependency (#3112) 2022-08-22 12:46:26 -07:00
starlark.go *: Fix go vet complaints (#1935) 2020-03-18 09:25:32 -07:00
terminal_other.go fmt code (#2826) 2021-12-13 10:25:23 -08:00
terminal_test.go pkg/locspec: support exact match in SubstitutePath (#3075) 2022-07-25 09:57:31 -07:00
terminal_windows.go Move top-level packages into pkg 2017-02-08 12:17:19 -08:00
terminal.go terminal: send large output to pager (#3060) 2022-08-17 09:02:53 +02:00