закешированный к нам в целях безопасности дебаггер
Go to file
Jay Mundrawala c7cde8b151 Keep searching for file:line until found
Go seems to be generating multiple compilation units that have
the same file. I think this happens for functions that get inlined.
Without this patch, those inlined functions break the ability to set
a breakpoint at other lines in the file. I was able to load the same
binary in gdb and set a breakpoints throughout the file without issue.

```
➜ objdump --dwarf=decodedline automate-gateway | grep handler/users.go
.../handler/users.go:[++]
s/.../handler/users.go           20            0xb6dd88
.../handler/users.go:[++]
s/.../handler/users.go           20            0xb6e50f
.../handler/users.go:[++]
s/automate-gateway/handler/users.go           32            0xb66640
```

Inlined functions are still a little weird. setting a breakpoint on
a function that gets inlined picks the first occurence. That being
said, I think delve should still do something reasonable for the rest
of the lines in the file.
2018-05-15 15:41:23 -07:00
_fixtures proc: Flag shadowed arguments as shadowed 2018-04-23 10:13:21 -07:00
assets Add high-res images 2015-05-19 12:25:26 -05:00
cmd/dlv cmd/dlv: Revert 4e177b, use new flag name for debug logging options 2018-04-26 09:45:52 -07:00
Documentation cmd/dlv: Revert 4e177b, use new flag name for debug logging options 2018-04-26 09:45:52 -07:00
pkg Keep searching for file:line until found 2018-05-15 15:41:23 -07: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 proc: Flag shadowed arguments as shadowed 2018-04-23 10:13:21 -07:00
vendor proc,vendor: show global variables in disassembly 2018-03-22 10:01:00 -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 travis-ci: Update to go 1.10 2018-03-07 14:50:50 -08:00
appveyor.yml *: Update appveyor.yml 2017-05-27 14:12:31 +02:00
CHANGELOG.md all: Spelling 2018-03-20 11:05:35 +01:00
CONTRIBUTING.md Update CONTRIBUTING.md 2016-05-13 10:43:09 +08:00
glide.lock proc,vendor: show global variables in disassembly 2018-03-22 10:01:00 -07:00
glide.yaml proc,vendor: show global variables in disassembly 2018-03-22 10:01:00 -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 all: Spelling 2018-03-20 11:05:35 +01:00
README.md Documentation: fix link to Getting Started 2018-01-04 11:17:36 -08: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.