delve/Documentation
Alessandro Arzilli e994047355 proc: correctly mark closure variables as shadowed (#1674)
If a closure captures a variable but also defines a variable of the
same name in its root scope the shadowed flag would, sometimes, not be
appropriately applied to the captured variable.

This change:

1. sorts the variable list by depth *and* declaration line, so that
closure captured variables always appear before other root-scope
variables, regardless of the order used by the compiler

2. marks variable with the same name as shadowed even if there is only
one scope at play.

This fixes the problem but as a side effect:

1. programs compiled with Go prior to version 1.9 will have the
shadowed flag applied arbitrarily (previously the shadowed flag was not
applied at all)
2. programs compiled with Go prior to versoin 1.11 will still exhibit
the bug, as they do not have DeclLine information.

Fixes #1672
2019-09-15 11:40:35 -07:00
..
api proc,service: remove support for locspec '<fnname>:0' (#1588) 2019-06-25 13:50:05 -07:00
cli terminal: alias stepout to so (#1646) 2019-07-31 13:09:20 -07:00
installation Documentation: mention DevToolsSecurity in documentation (macOS) (#1638) 2019-07-26 11:32:29 -07:00
internal Documentation: better documentation menu, add guide to writing a client 2018-07-02 09:35:27 -07:00
usage Documentation,cmd/dlv: tidy up --help output (#1649) 2019-08-01 16:28:37 -07:00
EditorIntegration.md documentation: update idea plugin url (#1562) 2019-05-30 08:03:16 -07:00
faq.md cmd/dlv: add --continue to continue process on launch/attach (#1585) 2019-07-19 10:59:38 -07:00
KnownBugs.md proc: correctly mark closure variables as shadowed (#1674) 2019-09-15 11:40:35 -07:00
README.md documentation: add gdlv to list of alternative UIs (#774) 2017-03-24 16:10:01 -07:00

Delve Documentation

Documentation for the project will reside in this directory.