Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix hangdump running into crashdump #4378

Merged
merged 12 commits into from
Apr 24, 2023
Prev Previous commit
Next Next commit
Update src/Microsoft.TestPlatform.Extensions.BlameDataCollector/Blame…
…Collector.cs

Co-authored-by: Jakub Jareš <me@jakubjares.com>
  • Loading branch information
Evangelink and nohwnd authored Apr 12, 2023
commit b7e5125029ea667d8d87c3ee33b397ac4ff79984
Original file line number Diff line number Diff line change
Expand Up @@ -246,7 +246,7 @@ private void CollectDumpAndAbortTesthost()

if (_collectProcessDumpOnCrash)
{
// Detach the dumper from the testhost process to prevent testhost process. When the dumper is procdump.exe
// Detach the dumper from the testhost process to prevent crashing testhost process. When the dumper is procdump.exe
// it must be detached before we try to dump the process, and simply killing it would take down the testhost process.
//
// Detaching also prevents creating an extra dump at the exit of the testhost process.
Expand Down