закешированный к нам в целях безопасности дебаггер
Go to file
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
_fixtures proc: correctly mark closure variables as shadowed (#1674) 2019-09-15 11:40:35 -07:00
assets Add high-res images 2015-05-19 12:25:26 -05:00
cmd/dlv cmd/dlv: actually disable C compiler optimizations when building (#1647) 2019-08-01 16:31:50 -07:00
Documentation proc: correctly mark closure variables as shadowed (#1674) 2019-09-15 11:40:35 -07:00
pkg proc: correctly mark closure variables as shadowed (#1674) 2019-09-15 11:40:35 -07:00
scripts scripts: Add 'make uninstall' command 2019-09-13 11:17:28 +02:00
service tests: remove duplicate code (#1669) 2019-08-14 08:57:05 -07:00
vendor *: Add .cirrus.yml for FreeBSD testing (#1639) 2019-07-30 08:38:25 -07:00
.cirrus.yml *: Add .cirrus.yml for FreeBSD testing (#1639) 2019-07-30 08:38:25 -07:00
.gitattributes makefile: use git's $Id$ instead of setting ver.Build in makefile (#807) 2017-04-28 10:14:33 -07:00
.gitignore git: Update gitignore 2015-10-20 20:55:11 -07:00
.travis.yml travis: bump continuous integration to 1.13 (#1693) 2019-09-15 11:37:07 -07:00
appveyor.yml *: Missed go-delve renames 2019-01-04 11:21:33 -08:00
CHANGELOG.md all: Version 1.3.0 (#1680) 2019-08-27 14:40:41 -07:00
CONTRIBUTING.md Update CONTRIBUTING.md 2016-05-13 10:43:09 +08:00
go.mod *: Add .cirrus.yml for FreeBSD testing (#1639) 2019-07-30 08:38:25 -07:00
go.sum *: Add .cirrus.yml for FreeBSD testing (#1639) 2019-07-30 08:38:25 -07:00
ISSUE_TEMPLATE.md misc: Include issue template for GitHub 2016-03-03 10:40:14 -08:00
LICENSE Add License and README 2014-05-03 15:31:52 -05:00
Makefile scripts: Add 'make uninstall' command 2019-09-13 11:17:28 +02:00
README.md Documentation: add Frequently Asked Questions. (#1567) 2019-06-03 10:20:26 -07:00

Delve

license GoDoc Build Status Build status Join the chat at https://gitter.im/go-delve/delve

The GitHub issue tracker is for bugs only. Please use the developer mailing list for any feature proposals and discussions.

About Delve

Delve is a debugger for the Go programming language. The goal of the project is to provide a simple, full featured debugging tool for Go. Delve should be easy to invoke and easy to use. Chances are if you're using a debugger, things aren't going your way. With that in mind, Delve should stay out of your way as much as possible.