закешированный к нам в целях безопасности дебаггер
Go to file
Alessandro Arzilli caf6df0eb9
Documentation,cmd/dlv: clean up command line usage help (#3395)
Due to some very old mistakes too many of Delve's flags are declared as
persistent on cobra's root command. For example the headless flag is a
global flag but does not apply to connect, dap or trace; the backend
flag does not apply to replay, core and dap; etc.

Almost all global flags should have been declared as local flags on
individual subcommands. Unfortunately we can not change this without
breaking backwards compatibility, for example:

   dlv --headless debug

would not parse if headless was a flag of debug instead of a global
flag.

Instead we alter usage function and the markdown generation script to
strategically hide the flags that don't apply.

Fixes #2361
2023-08-09 10:37:55 -07:00
_fixtures proc: check recursion level when loading pointers (#3431) 2023-07-07 10:32:05 -07:00
_scripts Documentation,cmd/dlv: clean up command line usage help (#3395) 2023-08-09 10:37:55 -07:00
.teamcity *: add linux/ppc64le targets (#3435) 2023-07-07 21:06:09 +02:00
assets Add high-res images 2015-05-19 12:25:26 -05:00
cmd/dlv Documentation,cmd/dlv: clean up command line usage help (#3395) 2023-08-09 10:37:55 -07:00
Documentation Documentation,cmd/dlv: clean up command line usage help (#3395) 2023-08-09 10:37:55 -07:00
pkg proc: add waitfor option to attach (#3445) 2023-08-09 10:30:22 -07:00
service proc: add waitfor option to attach (#3445) 2023-08-09 10:30:22 -07:00
vendor Documentation,cmd/dlv: clean up command line usage help (#3395) 2023-08-09 10:37:55 -07: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 chore: don't ignore directory cmd/dlv (#3359) 2023-05-05 09:59:43 -07:00
CHANGELOG.md all: fix typos (#3434) 2023-07-06 11:16:06 +02:00
CONTRIBUTING.md README: Remove gitter chat link. 2020-01-21 09:06:53 -08:00
go.mod Documentation,cmd/dlv: clean up command line usage help (#3395) 2023-08-09 10:37:55 -07:00
go.sum service/dap: update go-dap to latest (#3414) 2023-06-12 14:29:44 -07: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 proc: add waitfor option to attach (#3445) 2023-08-09 10:30:22 -07: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.