delve/service/debugger
polinasok 03f1ec1dfc
service/dap: support running requests asynchronously (#2423)
* service/dap: refine teardown logic

* Address review comments + add missing lock/unlock

* Narrow lock scope

* Update comments only

* Remove redundan temp var from stopNoDebugProcess

* Clarify comment

* service/dap: support running requests asynchronously

* Respond to review comments

* Remove debugging printf

* Refine locking. Add call TODO. Use -1 for running thread id.

* Fix TestAttachStopOnEntry: it can terminate on halt

* Respond to review comments

* Recover panics in async requests handling

* defer releasing asyncSetupDone, so it happens on panic

Co-authored-by: Polina Sokolova <polinasok@users.noreply.github.com>
2021-05-04 12:49:52 -07:00
..
debugger_darwin.go Add support for Windows. 2016-01-20 19:06:31 -08:00
debugger_freebsd.go *: FreeBSD initial support (#1480) 2019-07-12 18:28:04 -07:00
debugger_linux.go debugger: make yama error more verbose 2018-08-20 10:37:04 -07:00
debugger_test.go *: Better error launching invalid binary format 2020-04-02 18:41:16 +02:00
debugger_unix_test.go service/debugger: Fix checking for CI 2020-04-14 21:02:38 +02:00
debugger_unix.go *: Better error launching invalid binary format 2020-04-02 18:41:16 +02:00
debugger_windows.go *: Better error launching invalid binary format 2020-04-02 18:41:16 +02:00
debugger.go service/dap: support running requests asynchronously (#2423) 2021-05-04 12:49:52 -07:00