delve/service
Hyang-Ah Hana Kim 4b4f7a589a
daptest/gen: autogenerate some assertion functions (#2441)
daptest has type assertion functions that panic
if the read response/event message is not
the expected type. This is not only against the
recommended style guideline (Don't Panic, Useful
Test Failures, ...), but also it prevents from
quickly diagnosing test failures occurred in remote
CIs.

This PR changes the type assertion to the two
return value type assertion, and t.Fatal with details
if the type is not expected.
service/dap/daptest/main.go is a program that auto
generates those assertion functions in resp.go.

Run `go generate` from the service/dap directory
to update resp.go.
2021-05-06 11:11:45 +02:00
..
api proc: add way to use CPU registers in expressions (#2446) 2021-05-04 12:56:17 -07:00
dap daptest/gen: autogenerate some assertion functions (#2441) 2021-05-06 11:11:45 +02:00
debugger service/dap: support running requests asynchronously (#2423) 2021-05-04 12:49:52 -07:00
rpc1 service/rpccommon: fix shutdown related bugs (#2439) 2021-04-19 11:12:51 -07:00
rpc2 service/rpccommon: fix shutdown related bugs (#2439) 2021-04-19 11:12:51 -07:00
rpccommon service/rpccommon: fix shutdown related bugs (#2439) 2021-04-19 11:12:51 -07:00
test proc: add way to use CPU registers in expressions (#2446) 2021-05-04 12:56:17 -07:00
client.go *: Adds toggle command (#2208) 2021-03-19 11:02:23 -07:00
config.go cmd/dlv: Fix trace output (#2038) 2020-05-13 08:38:10 +02:00
listenerpipe.go cmd,service: in non-headless mode use an in-memory connection 2018-10-08 15:11:13 -07:00
rpccallback.go service: serialize calls to Command API (#2370) 2021-03-08 10:05:10 -08:00
server.go cmd,service: remove temporary def of Server interface in func 2018-10-09 07:56:48 -07:00