закешированный к нам в целях безопасности дебаггер
Go to file
Gregorio Martinez c1a39c6fe0 pkg/config: try to use XDG_CONFIG_HOME when present
* config/config.go

This change checks for the environmental variable XDG_CONFIG_HOME
before storing the configuration file in the home directory.

Closes #1454

* config/config.go

This change attempts to move the previous config file location to the
new XDG_CONFIG_HOME compliant location on linux systems or when
XDG_CONFIG_HOME is set.

This change removes the old config file location if the file is
successfully moved.

* config/config.go

Consolidate messages about config moving and clean up into one.
Remove extraneous newlines.

* pkg/config: config path error messages print to stderr

This change updates the output location of error messages related to
the config path. This will prevent clients from getting unexpected output
when an error occurs.

* pkg/config: Update path used when returning unable to move config error

This change fixes the error message when Delve was unable to move the config. Previously returned a FileInfo object not the file path.

* pkg/config: Remove check for stderr when printing error messages

* pkg/config: Move success message for moving config to stderr

This prevents the success message from being printed to stdout and
breaking frontends.

* pkg/config: Rename variable to be more descriptive
2019-02-11 14:22:44 -08:00
_fixtures *: Update import name to github.com/go-delve/delve 2019-01-04 19:43:13 +01:00
assets Add high-res images 2015-05-19 12:25:26 -05:00
cmd/dlv Documentation: update recommended compiler flags for 'exec' command 2019-01-08 10:26:47 -08:00
Documentation Documentation: update recommended compiler flags for 'exec' command 2019-01-08 10:26:47 -08:00
pkg pkg/config: try to use XDG_CONFIG_HOME when present 2019-02-11 14:22:44 -08:00
scripts *: Update import name to github.com/go-delve/delve 2019-01-04 19:43:13 +01:00
service service: improve documentation of ListGoroutines 2019-01-07 11:48:35 -08:00
vendor tests: fix typecheckrpc.go and convert it to a test 2019-01-07 11:47:49 -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 git: Update gitignore 2015-10-20 20:55:11 -07:00
.travis.yml Add function call support for OSX 2018-08-30 15:48:10 -07:00
appveyor.yml *: Missed go-delve renames 2019-01-04 11:21:33 -08:00
CHANGELOG.md all: Bump to v1.1.0 2018-08-16 13:20:21 -07:00
CONTRIBUTING.md Update CONTRIBUTING.md 2016-05-13 10:43:09 +08:00
glide.lock *: Update vendor 2018-06-22 09:45:10 +02:00
glide.yaml *: Update vendor 2018-06-22 09:45:10 +02:00
go.mod tests: fix typecheckrpc.go and convert it to a test 2019-01-07 11:47:49 -08:00
go.sum tests: fix typecheckrpc.go and convert it to a test 2019-01-07 11:47:49 -08: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 Makefile: replace makefile with a script 2018-09-18 12:06:25 -07:00
README.md *: Update import name to github.com/go-delve/delve 2019-01-04 19:43:13 +01: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.