delve/pkg/locspec
Alessandro Arzilli ca611db449
terminal: restore breakpoints set with line offset on restart (#3425)
Change FindLocation so it can return a substitute location expression
and propagate it to pkg/terminal/command.
When breakpoints are set using the syntax :<lineno> or +<lineno>
produce a substitute location expression that doesn't depend on having
a valid scope and can be used to restore the breakpoint.

Fixes #3423
2023-07-20 12:29:59 +02:00
..
doc.go *: run go1.19 'go fmt' on everything and fix problems (#3031) 2022-06-17 10:08:11 -07:00
locations_test.go *: misc improvements to config command and substitute-path rules (#3335) 2023-05-02 12:23:59 -07:00
locations.go terminal: restore breakpoints set with line offset on restart (#3425) 2023-07-20 12:29:59 +02:00