aarzilli 7bec20e5fc proc: avoid scanning system stack if it's not executing cgo
The runtime calls into g0 in many places, not necessarily using
runtime.systemstack or runtime.asmcgocall.
One example of this is the call to runtime.newstack inside
runtime.morestack.

If we stop the process while one goroutine is executing
runtime.newstack we would be unable to fully scan its stack because we
don't know that we have to switch back to the goroutine stack after
runtime.newstack.

Instead of tracking down every possible way that the runtime switches
to g0 we switch to the goroutine stack immediately after the top of the
stack, unless cgo is being executed on the systemstack.

Fixes #1066
2018-01-05 10:29:31 -08:00
2015-05-19 12:25:26 -05:00
2015-10-20 20:55:11 -07:00
2017-11-03 19:53:49 +01:00
2017-05-27 14:12:31 +02:00
2017-10-20 12:14:15 -07:00
2016-05-13 10:43:09 +08:00
2014-05-03 15:31:52 -05: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.

Description
Delve is a debugger for the Go programming language.
Readme MIT 61 MiB
Languages
Go 97.1%
C 2.3%
Shell 0.2%
PowerShell 0.1%
Starlark 0.1%
Other 0.1%