delve/service
Suzy Mueller 4b30ba4228
service/dap: add basic log points (#2634)
Log points are special kinds of breakpoints that do not 'break' but instead log a message and then continue. This change implements basic log points that simply log the provided message, without any interpolation.

In order to resume execution after hitting a breakpoint, I added a new lock resumeMu and tracked the running state within the DAP server. resumeMu must be held in order to issue a debugger request that would start execution. This means it can be used to make sure that another goroutine does not resume execution while you are holding the lock.

Most of the synchronization logic is taken from PR #2530

Updates golang/vscode-go#123
2021-09-24 15:22:32 -07:00
..
api service/dap: add basic log points (#2634) 2021-09-24 15:22:32 -07:00
dap service/dap: add basic log points (#2634) 2021-09-24 15:22:32 -07:00
debugger service/dap: add basic log points (#2634) 2021-09-24 15:22:32 -07:00
internal/sameuser service: fix sameuser check (#2642) 2021-08-10 11:40:39 +02:00
rpc1 proc,terminal,service: support stack watchpoints (#2521) 2021-08-09 10:41:25 -07:00
rpc2 proc,terminal,service: support stack watchpoints (#2521) 2021-08-09 10:41:25 -07:00
rpccommon service/rpccommon: halt before detach in Stop (#2677) 2021-09-01 10:31:37 -07:00
test service/rpccommon: halt before detach in Stop (#2677) 2021-09-01 10:31:37 -07:00
client.go proc,terminal,service: support stack watchpoints (#2521) 2021-08-09 10:41:25 -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