delve/service/dap
Alessandro Arzilli f19d5e5c13
proc: fix embedded field search (#2320)
Both structMember and findMethod implemented a depth-first search in
embedded fields but the Go specification requires a breadth-first
search. They also allowed promotion of fields in the concrete type of
embedded interfaces even though this is not allowed by Go.
Furthermore they both lacked protection from infinite recursion
when a type embeds itself and the user requests a non-existent field.

Fixes #2316
2021-01-29 09:25:31 -08:00
..
daptest service/dap: Support local attach (#2260) 2020-12-28 09:14:15 -08:00
error_ids.go service/dap: Support local attach (#2260) 2020-12-28 09:14:15 -08:00
handles.go service/dap: Add support for evaluateName for variables (#2292) 2021-01-14 10:53:12 -08:00
server_test.go proc: fix embedded field search (#2320) 2021-01-29 09:25:31 -08:00
server.go service/dap: Add support for evaluateName for variables (#2292) 2021-01-14 10:53:12 -08:00
utils.go service/dap: Support stackTrace request (#2093) 2020-07-01 11:01:17 -07:00