delve/service
Alessandro Arzilli 1893c9769b
Miscellaneous fixes for Windows native backend (#2736)
* proc/native: always stop after RequestManualStop on Windows

On Windows RequestManualStop will generate an exception on a special
DbgUiRemoteBreakin thread, sometimes this thread will die before we
finish stopping the process. We need to account for that and still stop
even if the thread is gone and no other thread hit a breakpoint.

Fixes flakiness of TestIssue419.

* proc/native: fix watchpoints with new threads on Windows

When a new thread is created we must reapply all watchpoints to it,
like we do on linux.

* tests: be lenient on goroutinestackprog tests on Windows

We can not guarantee that we find all goroutines stopped in a good
place and sometimes the stacktrace fails on Windows.
2021-10-13 08:43:54 -07:00
..
api proc: do not assign temporary breakpoint IDs (#2650) 2021-09-29 12:01:37 +02:00
dap service/dap: set instruction breakpoints (#2716) 2021-10-13 08:34:09 -07:00
debugger proc: do not assign temporary breakpoint IDs (#2650) 2021-09-29 12:01:37 +02:00
internal/sameuser service: fix sameuser check (#2642) 2021-08-10 11:40:39 +02:00
rpc1 *: clean up staticcheck problems (#2723) 2021-09-28 12:07:42 -07:00
rpc2 *: clean up staticcheck problems (#2723) 2021-09-28 12:07:42 -07:00
rpccommon service/rpccommon,service/dap: warn about listening to remote connections (#2721) 2021-09-29 09:53:27 +02:00
test Miscellaneous fixes for Windows native backend (#2736) 2021-10-13 08:43:54 -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