закешированный к нам в целях безопасности дебаггер
% go test -race -v -short
=== RUN TestBuild
==================
WARNING: DATA RACE
Write at 0x00c4201379a0 by goroutine 9:
os.(*file).close()
/usr/local/go/src/os/file_unix.go:143 +0x10a
os.(*File).Close()
/usr/local/go/src/os/file_unix.go:132 +0x55
os/exec.(*Cmd).closeDescriptors()
/usr/local/go/src/os/exec/exec.go:263 +0x67
os/exec.(*Cmd).Wait()
/usr/local/go/src/os/exec/exec.go:448 +0x2b8
github.com/derekparker/delve/cmd/dlv.TestBuild.func1()
/home/kbuilder/go/src/github.com/derekparker/delve/cmd/dlv/dlv_test.go:82 +0x8e
github.com/derekparker/delve/cmd/dlv.TestBuild()
/home/kbuilder/go/src/github.com/derekparker/delve/cmd/dlv/dlv_test.go:104 +0xb6a
testing.tRunner()
/usr/local/go/src/testing/testing.go:657 +0x107
Previous read at 0x00c4201379a0 by goroutine 12:
os.(*File).Read()
/usr/local/go/src/os/file.go:98 +0x70
bufio.(*Scanner).Scan()
/usr/local/go/src/bufio/scan.go:207 +0x539
github.com/derekparker/delve/cmd/dlv.TestBuild.func2()
/home/kbuilder/go/src/github.com/derekparker/delve/cmd/dlv/dlv_test.go:93 +0x38
Change-Id: I09d188dbf964fe4af0b33b6a8fcfe51396176b7e
|
||
|---|---|---|
| _fixtures | ||
| assets | ||
| cmd/dlv | ||
| Documentation | ||
| Godeps | ||
| pkg | ||
| scripts | ||
| service | ||
| vendor | ||
| .gitignore | ||
| .travis.yml | ||
| appveyor.yml | ||
| CHANGELOG.md | ||
| CONTRIBUTING.md | ||
| ISSUE_TEMPLATE.md | ||
| LICENSE | ||
| Makefile | ||
| README.md | ||
This project is currently pre 1.0.
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.
