24 references to DebugUtils
Microsoft.Build (17)
BackEnd\BuildManager\BuildManager.cs (6)
733
var binlogPath =
DebugUtils
.FindNextAvailableDebugFilePath($"{FrameworkDebugUtils.ProcessInfoString}_BuildManager_{_hostName}.binlog");
1846
DebugUtils
.DumpExceptionToFile(e);
2243
var logPath =
DebugUtils
.FindNextAvailableDebugFilePath($"{FrameworkDebugUtils.ProcessInfoString}_ProjectGraph.dot");
2749
string exception =
DebugUtils
.ReadAnyExceptionFromFile(_instantiationTimeUtc);
2750
loggingService?.LogError(buildEventContext, new BuildEventFileInfo(string.Empty) /* no project file */, "ChildExitedPrematurely", node,
DebugUtils
.DebugDumpPath, exception);
2759
loggingService?.LogError(BuildEventContext.Invalid, new BuildEventFileInfo(string.Empty) /* no project file */, "ChildExitedPrematurely", node,
DebugUtils
.DebugDumpPath, shutdownPacket.Exception.ToString());
BackEnd\Components\BuildRequestEngine\BuildRequestEngine.cs (1)
1448
DebugUtils
.DumpExceptionToFile(e);
BackEnd\Components\Communications\NodeEndpointInProc.cs (1)
465
DebugUtils
.DumpExceptionToFile(e);
BackEnd\Components\Logging\EventSourceSink.cs (2)
424
DebugUtils
.DumpExceptionToFile(exception);
434
DebugUtils
.DumpExceptionToFile(exception);
BackEnd\Components\Logging\LoggingService.cs (1)
1571
DebugUtils
.DumpExceptionToFile(e);
BackEnd\Components\RequestBuilder\RequestBuilder.cs (1)
849
DebugUtils
.DumpExceptionToFile(ex);
BackEnd\Node\InProcNode.cs (1)
190
DebugUtils
.DumpExceptionToFile(e);
NodeEndpointOutOfProcBase.cs (4)
518
DebugUtils
.DumpExceptionToFile(e);
667
DebugUtils
.DumpExceptionToFile(e);
726
DebugUtils
.DumpExceptionToFile(e);
785
DebugUtils
.DumpExceptionToFile(e);
Microsoft.Build.Engine.UnitTests (7)
BackEnd\DebugUtils_tests.cs (4)
22
DebugUtils
.ResetDebugDumpPathInRunningTests = true;
23
var exceptionFilesBefore = Directory.GetFiles(
DebugUtils
.DebugDumpPath, "MSBuild_*failure.txt");
29
DebugUtils
.DumpExceptionToFile(new Exception("hello world"));
30
exceptionFiles = Directory.GetFiles(
DebugUtils
.DebugDumpPath, "MSBuild_*failure.txt");
BackEnd\TaskExecutionHost_Tests.cs (3)
1096
File.Exists(
DebugUtils
.DumpFilePath).ShouldBe(isCritical, $"{
DebugUtils
.DumpFilePath} expected to exist: {isCritical}");
1100
FileUtilities.DeleteNoThrow(
DebugUtils
.DumpFilePath);