закешированный к нам в целях безопасности дебаггер
Go to file
aarzilli 3f2335f289 debugger/locations: locspec "+0" should always evaluate to the current PC
So far we have evaluated the locspec "+0" the same way we evaluate all
"+n" locspecs, this means that we turn the current PC into a file:line
pair, then we turn back the file:line into a PC address.

Normally this is harmless, however all autogenerated code returns the
source position "<autogenerated>:1" which resolves back to the very
first autogenerated instruction in the code.

This messes up the behaviour of the "disassemble" command which uses
the locspec "+0" to figure out what code to disassemble if no arguments
are passed.

We should make +0 always resolve to the current PC (of the given scope)
so that clients can use +0 as a default locspec.
2017-12-18 10:30:53 -08:00
_fixtures pkg/proc: use constants to describe variable value 2017-12-13 12:18:18 -08:00
assets Add high-res images 2015-05-19 12:25:26 -05:00
cmd/dlv dlv: disable -a for go1.10 2017-12-13 12:18:18 -08:00
Documentation pkg/terminal: -offsets flag for stack command 2017-11-28 11:00:53 -08:00
pkg debugger/locations: locspec "+0" should always evaluate to the current PC 2017-12-18 10:30:53 -08:00
scripts pkg/proc, pkg/dwarf/op: support DW_OP_piece, DW_OP_regX, DW_OP_fbreg 2017-11-21 11:51:02 -08:00
service debugger/locations: locspec "+0" should always evaluate to the current PC 2017-12-18 10:30:53 -08:00
vendor pkg/dwarf/godwarf: split out type parsing from x/debug/dwarf 2017-08-01 11:20:25 -06: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 travis: remove 1.7.x go version 2017-11-03 19:53:49 +01:00
appveyor.yml *: Update appveyor.yml 2017-05-27 14:12:31 +02:00
CHANGELOG.md CHANGELOG: changed rc.2 date. 2017-10-20 12:14:15 -07:00
CONTRIBUTING.md Update CONTRIBUTING.md 2016-05-13 10:43:09 +08:00
glide.lock pkg/dwarf/godwarf: split out type parsing from x/debug/dwarf 2017-08-01 11:20:25 -06:00
glide.yaml pkg/dwarf/godwarf: split out type parsing from x/debug/dwarf 2017-08-01 11:20:25 -06: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: disable test caching 2017-12-13 12:18:18 -08:00
README.md *: Bump version to 1.0.0-rc.1 2017-05-06 15:38:32 +02:00

Delve

license GoDoc Build Status Build status Join the chat at https://gitter.im/derekparker/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.