1 write to _testHostProcessId
Microsoft.TestPlatform.Extensions.BlameDataCollector (1)
BlameCollector.cs (1)
638Interlocked.Exchange(ref _testHostProcessId, args.TestHostProcessId);
6 references to _testHostProcessId
Microsoft.TestPlatform.Extensions.BlameDataCollector (6)
BlameCollector.cs (6)
250TPDebug.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); 316var p = Process.GetProcessById(_testHostProcessId); 624_processDumpUtility.DetachFromTargetProcess(_testHostProcessId); 675if (!_collectProcessDumpOnHang || _inactivityTimerAlreadyFired || _testHostProcessId == 0)