delve/service/dap
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
..
daptest service/dap: add basic log points (#2634) 2021-09-24 15:22:32 -07:00
error_ids.go service/dap: fix noDebug mode to handle requests while running (#2658) 2021-08-16 08:51:23 -07:00
handles.go service/dap: implement array, slice, and map paging (#2512) 2021-06-10 09:34:20 -07:00
server_test.go service/dap: add basic log points (#2634) 2021-09-24 15:22:32 -07:00
server.go service/dap: add basic log points (#2634) 2021-09-24 15:22:32 -07:00
types.go service/dap: initial remote attach (handler support only) (#2709) 2021-09-24 13:43:46 +02:00