delve/service/dap
Alessandro Arzilli bd2a4fe56e
proc/native/linux: better handling of process death due to signals (#2477)
Handle the signaled status for the thread leader like we handle the
exited status, by returning ErrProcessExited and recording the killer
signal  in it.
Prior to this commit we would find out about the death of the thread
later in the loop, the condition would still be reported as
ErrProcessExited, but without recording the signal number anywhere.

Also fixes a bug in TestAttachStopOnEntry where the test would
inadvertently cause a SIGPIPE to be sent to the target process, making
it terminate early.
2021-05-17 09:48:48 -07:00
..
daptest service/dap: implement exception info (#2444) 2021-05-17 09:25:41 -07:00
error_ids.go service/dap: implement exception info (#2444) 2021-05-17 09:25:41 -07:00
handles.go service/dap: Add support for evaluateName for variables (#2292) 2021-01-14 10:53:12 -08:00
server_test.go proc/native/linux: better handling of process death due to signals (#2477) 2021-05-17 09:48:48 -07:00
server.go service/dap: implement exception info (#2444) 2021-05-17 09:25:41 -07:00
utils.go service/dap: Support stackTrace request (#2093) 2020-07-01 11:01:17 -07:00