закешированный к нам в целях безопасности дебаггер
Go to file
Darren Rambaud bc30b53926
gdbserial/gdbserver: Dynamically resolve debugserver binary (#1994)
* gdbserial/gdbserver: Dynamically resolve debugserver binary

Instead of hardcoding the absolute path to the Command Line
Tools (CLT) binary, will attempt to resolve the path at the
$PATH, or at the Xcode bundle. If none are available, will
fallback to the default CLT location.

Fixes #986

* gdbserial/gdbserver: Log outgoing executed commands

Add logging to capture the executable and associated arguments used
in LLDBLaunch and LLDBAttach

Related to #986

* gdbserial/gdbserver: Add unit tests for helper function

Define unit tests for helper function. Setup each test to temporarily make
PATH variable, and file system changes, and subsequently revert them.

Related to #986

* gdbserial/gdbserver: Lazily load function

Lazily obtain absolute path to avoid increasing load times.

Remove flaky tests.

Related to #986
2020-04-09 13:48:38 -07:00
_fixtures proc: skip autogenerated wrappers when stepping in and out 2020-03-31 10:04:36 -07:00
_scripts *: mv scripts _scripts 2020-03-28 20:28:51 +01:00
assets Add high-res images 2015-05-19 12:25:26 -05:00
cmd/dlv cmd/dlv: Unexport flag variables 2020-04-01 10:28:52 +02:00
Documentation Documentation: add modules mode note to install documentation 2020-04-06 08:32:02 -07:00
pkg gdbserial/gdbserver: Dynamically resolve debugserver binary (#1994) 2020-04-09 13:48:38 -07:00
service Use proper spelling of Xcode (#1984) 2020-04-04 13:58:06 +02:00
vendor vendor: check vendor directory (#1962) 2020-03-26 09:25:50 -07:00
.cirrus.yml *: Update freebsd image 2020-04-08 11:40:24 +02:00
.deepsource.toml *: mv scripts _scripts 2020-03-28 20:28:51 +01:00
.gitattributes makefile: use git's $Id$ instead of setting ver.Build in makefile (#807) 2017-04-28 10:14:33 -07:00
.gitignore vendor: check vendor directory (#1962) 2020-03-26 09:25:50 -07:00
.travis.yml travis.yml: Add go_import_path 2020-03-22 20:43:57 +01:00
CHANGELOG.md *: Update CHANGELOG.md - fix v1.4.0's date being 2019 (#1861) 2020-02-12 08:59:18 -08:00
CONTRIBUTING.md README: Remove gitter chat link. 2020-01-21 09:06:53 -08:00
go.mod proc,dwarf: cache debug.Entry objects (#1931) 2020-03-20 10:23:10 -07:00
go.sum pkg/proc: Clean up proc.go 2020-03-24 09:45:29 +01: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 *: mv scripts _scripts 2020-03-28 20:28:51 +01:00
README.md *: Update AppVeyor badge 2020-01-22 11:55:30 +01:00

Delve

license GoDoc Build Status 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.