закешированный к нам в целях безопасности дебаггер
Go to file
Alessandro Arzilli e9b2da17cb
proc/native/linuc: Better native.Process.stop performance (#1874)
* proc/native/linux: only set breakpoints on threads that receive SIGTRAP

* proc/native/linux: do not call (*Thread).Stopped inside (*Process).stop

(*Thread).Stopped is slow because it needs to open, read and parse a
file in /proc, we don't actually need to do that, we can just rely on
the value of Thread.os.running.

Benchmark before:

BenchmarkConditionalBreakpoints-4              1        12476166303 ns/op

Benchmark after:

BenchmarkConditionalBreakpoints-4   	       1	10403533675 ns/op

Conditional breakpoint evaluation: 1.24ms -> 1ms

Updates #1549
2020-03-09 10:15:45 -07:00
_fixtures service/dap: Add support for debug and test modes (#1901) 2020-03-04 09:22:51 -08:00
assets Add high-res images 2015-05-19 12:25:26 -05:00
cmd/dlv service/dap: Add support for debug and test modes (#1901) 2020-03-04 09:22:51 -08:00
Documentation terminal: divide commands into categories 2020-03-09 10:11:21 -07:00
pkg proc/native/linuc: Better native.Process.stop performance (#1874) 2020-03-09 10:15:45 -07:00
scripts scripts: support macOS 10.15 or later 2020-02-24 09:30:47 -08:00
service logflags: Add pid to server-listening-at message (#1885) 2020-03-09 10:14:34 -07:00
vendor service/dap: Add panic guard to DAP handlers (#1895) 2020-02-25 21:00:54 -08: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 *: Add Go 1.14 to test matrix 2020-03-01 11:13:39 +01:00
appveyor.yml *: Missed go-delve renames 2019-01-04 11:21:33 -08: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 go.mod: remove unused dependencies, go mod tidy 2020-03-03 10:45:17 -08:00
go.sum go.mod: remove unused dependencies, go mod tidy 2020-03-03 10:45:17 -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 *: Fix typo in Makefile (#1869) 2020-02-18 10:02:04 -08: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.