Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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.
- Loading branch information
Showing
6 changed files
with
99 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters