закешированный к нам в целях безопасности дебаггер
Go to file
Alessandro Arzilli 200994bc8f
proc/*: only load floating point registers when needed (#1981)
Changes implementations of proc.Registers interface and the
op.DwarfRegisters struct so that floating point registers can be loaded
only when they are needed.
Removes the floatingPoint parameter from proc.Thread.Registers.
This accomplishes three things:

1. it simplifies the proc.Thread.Registers interface
2. it makes it impossible to accidentally create a broken set of saved
   registers or of op.DwarfRegisters by accidentally calling
   Registers(false)
3. it improves general performance of Delve by avoiding to load
   floating point registers as much as possible

Floating point registers are loaded under two circumstances:

1. When the Slice method is called with floatingPoint == true
2. When the Copy method is called

Benchmark before:

BenchmarkConditionalBreakpoints-4   	       1	4327350142 ns/op

Benchmark after:

BenchmarkConditionalBreakpoints-4   	       1	3852642917 ns/op

Updates #1549
2020-05-13 11:56:50 -07:00
_fixtures Miscellaneous debug_line improvements (#1999) 2020-04-09 13:57:44 -07:00
_scripts Makefile: reduce test timeout when TRAVIS==true 2020-04-17 09:20:55 -07:00
assets Add high-res images 2015-05-19 12:25:26 -05:00
cmd/dlv cmd/dlv: Fix trace output (#2038) 2020-05-13 08:38:10 +02:00
Documentation cmd/dlv: Fix trace output (#2038) 2020-05-13 08:38:10 +02:00
pkg proc/*: only load floating point registers when needed (#1981) 2020-05-13 11:56:50 -07:00
service proc/*: only load floating point registers when needed (#1981) 2020-05-13 11:56:50 -07:00
vendor vendor: update logrus dependency (#2048) 2020-05-11 15:44:01 -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 service/debugger: Fix checking for CI 2020-04-14 21:02:38 +02: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 vendor: update logrus dependency (#2048) 2020-05-11 15:44:01 -07:00
go.sum vendor: update logrus dependency (#2048) 2020-05-11 15:44:01 -07: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.