закешированный к нам в целях безопасности дебаггер
Go to file
Suzy Mueller 5632cf92be
service/dap: add "panic" and "fatal error" as stopped reasons (#2186)
* service/dap: add "panic" and "fatal error" as stopped reasons

The unrecovered panic and fatal throw breakpoints are not set by the
user. We now check for these special breakpoints and send appropriate
stopped reasons to the client.

* Add getter for StopReason

* Set threadID and stop reason correctly

If there is no selected goroutine, no goroutine ID should be set in
the stopped event.

The stopped reason can be better determined using the process
StopReason.

* Update panic breakpoint on next test to work with Go 1.13 runtime

When running panic.go with Go1.13, the next line that is stepped to
after panic('boom') is the defer function in the runtime package. The
unrecovered panic breakpoint is not hit until after several steps.

The test now steps until the breakpoint is hit, or the program terminates
without hitting the unrecovered panic breakpoint, in which case it fails.

* Skip breakpoint on next test in < Go 1.14
2020-10-07 08:24:40 -07:00
_fixtures pkg/proc: fix dlv panic when sameGCond is nil. (#2164) 2020-09-08 15:18:49 -07:00
_scripts proc/tests: keep track of tests skipped due to backend problems (#2178) 2020-09-24 08:10:20 -07:00
assets Add high-res images 2015-05-19 12:25:26 -05:00
cmd/dlv proc/tests: keep track of tests skipped due to backend problems (#2178) 2020-09-24 08:10:20 -07:00
Documentation proc/tests: keep track of tests skipped due to backend problems (#2178) 2020-09-24 08:10:20 -07:00
pkg proc/tests: keep track of tests skipped due to backend problems (#2178) 2020-09-24 08:10:20 -07:00
service service/dap: add "panic" and "fatal error" as stopped reasons (#2186) 2020-10-07 08:24:40 -07:00
vendor service/dap: pull in newer version of google/go-dap (#2167) 2020-09-15 14:43:13 -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/*: remove threadID argument of (*Debugger).PackageVariables (#2182) 2020-09-24 08:02:29 -07:00
CHANGELOG.md all: bump version and release notes 2020-07-29 21:59:07 +02:00
CONTRIBUTING.md README: Remove gitter chat link. 2020-01-21 09:06:53 -08:00
go.mod service/dap: pull in newer version of google/go-dap (#2167) 2020-09-15 14:43:13 -07:00
go.sum service/dap: pull in newer version of google/go-dap (#2167) 2020-09-15 14:43:13 -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 Documentation: Add FreeBSD under main README (#2107) 2020-07-20 09:32:08 -07:00

Delve

license GoDoc 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.