delve/service/debugger
Alessandro Arzilli 4264bf00f2
proc,terminal,service: support stack watchpoints (#2521)
* terminal,service: add way to see internal breakpoints

Now that Delve has internal breakpoints that survive for long periods
of time it will be useful to have an option to display them.

* proc,terminal,service: support stack watchpoints

Adds support for watchpoints on stack allocated variables.

When a stack variable is watched, in addition to the normal watchpoint
some support breakpoints are created:

- one breakpoint inside runtime.copystack, used to adjust the address
  of the watchpoint when the stack is resized
- one or more breakpoints used to detect when the stack variable goes
  out of scope, those are similar to the breakpoints set by StepOut.

Implements #279
2021-08-09 10:41:25 -07:00
..
debugger_darwin.go Add support for Windows. 2016-01-20 19:06:31 -08:00
debugger_freebsd.go *: FreeBSD initial support (#1480) 2019-07-12 18:28:04 -07:00
debugger_linux.go debugger: make yama error more verbose 2018-08-20 10:37:04 -07:00
debugger_test.go *: Better error launching invalid binary format 2020-04-02 18:41:16 +02:00
debugger_unix_test.go service/debugger: Fix checking for CI 2020-04-14 21:02:38 +02:00
debugger_unix.go *: Better error launching invalid binary format 2020-04-02 18:41:16 +02:00
debugger_windows.go *: Better error launching invalid binary format 2020-04-02 18:41:16 +02:00
debugger.go proc,terminal,service: support stack watchpoints (#2521) 2021-08-09 10:41:25 -07:00