delve/service/api
Alessandro Arzilli 2d6bc19ad7
service/api: do not try to convert unreadable goroutines (#2070)
When reading truncated core files GoroutinesInfo will sometimes produce
some proc.G structs with only the Unreadable field set. These proc.G
can not be used for anything, but the service layer will still try to
convert them.
Since they are not fully initialized parts of the conversion will fail,
api.ConvertGoroutine should not try to call methods of unreadable
goroutines.

Fixes a bug reported on the mailing list.
https://groups.google.com/forum/#!msg/delve-dev/gauDqYaD81c/K5YDNBOhAAAJ
2020-06-03 11:10:14 -07:00
..
conversions.go service/api: do not try to convert unreadable goroutines (#2070) 2020-06-03 11:10:14 -07:00
prettyprint_test.go service/api: Refactor examine memory pretty printer 2020-03-01 11:16:29 +01:00
prettyprint.go service/api: Refactor examine memory pretty printer 2020-03-01 11:16:29 +01:00
types.go cmd/dlv: Fix trace output (#2038) 2020-05-13 08:38:10 +02:00