закешированный к нам в целях безопасности дебаггер
Go to file
Alessandro Arzilli 13ad7dc1d5
*: misc improvements to config command and substitute-path rules (#3335)
A series of interconnected changes to both the terminal command
'config', DAP command 'dlv config', quality of life improvements to how
substitute-path works, and better documentation.

- Let 'config substitute-path' show the current substitute path rules
- Add a -clear command to 'config substitute-path'
- Support 'config-debug-info-directories'
- rewrite SubstitutePath to be platform independent (see below)
- document path substitution more

Regarding the rewrite of SubstitutePath: the previous version used
runtime.GOOS and filepath.IsAbs to determine which filepath separator to use
and if matching should be case insensitive. This is wrong in all situations
where the client and server run on different OSes, when examining core files
and when cross-compilation is involved.

The new version of SubstitutePath checks the rules and the input path to
determine if Windows is involved in the process, if it looks like it is it
switches to case-insensitive matching. It uses a lax version of
filepath.IsAbs to determine if a path is absolute and tries to avoid having
to select a path separator as much as possible

Fixes #2891, #2890, #2889, #3179, #3332, #3343
2023-05-02 12:23:59 -07:00
_fixtures proc: step breakpoints shouldn't hide normal breakpoints (#3287) 2023-04-24 12:12:54 -07:00
_scripts dwarf/op: change generated comment header (#3288) 2023-02-25 14:12:12 +01:00
.teamcity TeamCity,Documentation: use new TeamCity URL (#3275) 2023-02-15 11:11:42 +01:00
assets Add high-res images 2015-05-19 12:25:26 -05:00
cmd/dlv cmd/dlv: Add flag to replay for rr onprocess pid (#3281) 2023-03-01 11:28:32 -08:00
Documentation *: misc improvements to config command and substitute-path rules (#3335) 2023-05-02 12:23:59 -07:00
pkg *: misc improvements to config command and substitute-path rules (#3335) 2023-05-02 12:23:59 -07:00
service *: misc improvements to config command and substitute-path rules (#3335) 2023-05-02 12:23:59 -07:00
vendor go.mod: update github.com/google/go-dap to v0.7.0 (#3237) 2023-01-03 08:40:51 -08:00
.cirrus.yml proc: fixes concerning call injection on freebsd and rr (#3000) 2022-05-05 08:39:54 -07:00
.deepsource.toml Continuous Integration cleanup (#2369) 2021-03-08 09:35:56 -08:00
.gitattributes makefile: use git's $Id$ instead of setting ver.Build in makefile (#807) 2017-04-28 10:14:33 -07:00
.gitignore *: Replace libbpfgo with cilium/ebpf (#2771) 2021-11-03 16:58:04 +01:00
CHANGELOG.md v1.20.2 2023-04-05 11:25:22 +02:00
CONTRIBUTING.md README: Remove gitter chat link. 2020-01-21 09:06:53 -08:00
go.mod go.mod: update github.com/google/go-dap to v0.7.0 (#3237) 2023-01-03 08:40:51 -08:00
go.sum go.mod: update github.com/google/go-dap to v0.7.0 (#3237) 2023-01-03 08:40:51 -08:00
ISSUE_TEMPLATE.md Documentation: document substitute-path more (#2998) 2022-05-04 11:01:56 -07:00
LICENSE Add License and README 2014-05-03 15:31:52 -05:00
Makefile pkg/proc: add build scripts & docker image for ebpf (#2847) 2021-12-30 09:04:59 +01:00
README.md TeamCity,Documentation: use new TeamCity URL (#3275) 2023-02-15 11:11:42 +01:00

Delve

license GoDoc Build Status

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.