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 |
||
|---|---|---|
| .. | ||
| doc.go | ||
| locations_test.go | ||
| locations.go | ||