1 write to _testHostProcessId
Microsoft.TestPlatform.Extensions.BlameDataCollector (1)
BlameCollector.cs (1)
638
Interlocked.Exchange(ref
_testHostProcessId
, args.TestHostProcessId);
6 references to _testHostProcessId
Microsoft.TestPlatform.Extensions.BlameDataCollector (6)
BlameCollector.cs (6)
250
TPDebug.Assert(
_testHostProcessId
!= 0, "CollectDumpAndAbortTesthost called but testhost has not launched yet.");
258
_processDumpUtility.DetachFromTargetProcess(
_testHostProcessId
);
268
_processDumpUtility.StartHangBasedProcessDump(
_testHostProcessId
, dumpDirectory, _hangDumpType == HangDumpType.Full, _targetFramework!, logWarning);
316
var p = Process.GetProcessById(
_testHostProcessId
);
624
_processDumpUtility.DetachFromTargetProcess(
_testHostProcessId
);
675
if (!_collectProcessDumpOnHang || _inactivityTimerAlreadyFired ||
_testHostProcessId
== 0)