40 references to Trace
Microsoft.Build (40)
BackEnd\Client\MSBuildClient.cs (13)
157
CommunicationsUtilities.
Trace
("Executing build with command line '{0}'", descriptiveCommandLine);
195
CommunicationsUtilities.
Trace
("Failed to obtain the current build server state: {0}", ex);
196
CommunicationsUtilities.
Trace
("HResult: {0}.", ex.HResult);
354
CommunicationsUtilities.
Trace
("MSBuild client error: problem during packet handling occurred: {0}.", ex);
379
CommunicationsUtilities.
Trace
("MSBuild client warning: problem during querying console buffer width.", ex);
412
CommunicationsUtilities.
Trace
("Command packet of type '{0}' sent...", packet.Type);
447
CommunicationsUtilities.
Trace
("Failed to obtain the current build server state: {0}", ex);
448
CommunicationsUtilities.
Trace
("HResult: {0}.", ex.HResult);
463
CommunicationsUtilities.
Trace
("Server started with PID: {0}", msbuildProcess?.Id);
467
CommunicationsUtilities.
Trace
("Failed to launch the msbuild server: {0}", ex);
544
CommunicationsUtilities.
Trace
("MSBuild client error: packet pump unexpectedly shut down: {0}", packetPump.PacketPumpException);
618
CommunicationsUtilities.
Trace
("Retrying to connect to server after {0} ms", sw.ElapsedMilliseconds);
626
CommunicationsUtilities.
Trace
("Failed to connect to server: {0}", result.ErrorMessage);
BackEnd\Client\MSBuildClientPacketPump.cs (2)
301
CommunicationsUtilities.
Trace
("Packet factory failed to receive package. Exception while deserializing packet {0}.", packetType);
332
CommunicationsUtilities.
Trace
("Exception occurred in the packet pump: {0}", ex);
BackEnd\Components\Communications\NodeLauncher.cs (1)
63
CommunicationsUtilities.
Trace
("Launching node from {0}", nodeLaunchData.MSBuildLocation);
BackEnd\Components\Communications\NodeProviderOutOfProcBase.cs (10)
192
CommunicationsUtilities.
Trace
("Shutting down node with pid = {0}", nodeProcess.Id);
441
CommunicationsUtilities.
Trace
("Could not connect to node with PID {0}; it has exited with unknown exit code. This can indicate a crash at startup", msbuildProcess.Id);
447
CommunicationsUtilities.
Trace
("Could not connect to node with PID {0}; it is still running. This can occur when two multiprocess builds run in parallel and the other one 'stole' this node", msbuildProcess.Id);
523
CommunicationsUtilities.
Trace
("Skipping process {0} - unable to retrieve command line", process.Id);
531
CommunicationsUtilities.
Trace
("Including process {0} - command line retrieval not supported on this platform", process.Id);
597
CommunicationsUtilities.
Trace
("Node reuse threshold is 0, terminating all {0} nodes", nodeCount);
837
CommunicationsUtilities.
Trace
("Reading handshake from pipe {0}", pipeName);
847
CommunicationsUtilities.
Trace
("Successfully connected to pipe {0}...!", pipeName);
1243
CommunicationsUtilities.
Trace
("Waiting for node with pid = {0} to exit", _process.Id);
1271
CommunicationsUtilities.
Trace
("Killing node with pid = {0}", _process.Id);
BackEnd\Components\Communications\NodeProviderOutOfProcTaskHost.cs (1)
659
CommunicationsUtilities.
Trace
("DisconnectFromHost: Node context already removed for key: {0}", nodeKey);
BackEnd\Components\Communications\RarNodeLauncher.cs (1)
46
CommunicationsUtilities.
Trace
("Failed to launch RAR node: {0}", ex);
BackEnd\Node\OutOfProcNode.cs (1)
507
CommunicationsUtilities.
Trace
("Failed to restore the original environment: {0}.", ex);
BackEnd\Node\OutOfProcServerNode.cs (3)
103
CommunicationsUtilities.
Trace
("Starting new server node with handshake {0}", handshake);
332
CommunicationsUtilities.
Trace
("Terminating server node due to over-provisioning: {0} server nodes found system-wide.", serverNodeCount);
367
CommunicationsUtilities.
Trace
("Building with MSBuild server with command line {0}", command.CommandLine);
CommunicationsUtilities.cs (2)
282
CommunicationsUtilities.
Trace
("Handshake salt is {0}", handshakeSalt);
283
CommunicationsUtilities.
Trace
("Tools directory root is {0}", toolsDirectory);
NodeEndpointOutOfProcBase.cs (6)
391
CommunicationsUtilities.
Trace
("Waiting for connection {0} ms...", waitTimeRemaining);
460
CommunicationsUtilities.
Trace
("Sent PacketVersion: {0}", NodePacketTypeExtensions.PacketVersion);
490
CommunicationsUtilities.
Trace
("Client connection failed but we will wait for another connection. Exception: {0}", e.Message);
512
CommunicationsUtilities.
Trace
("Client connection failed. Exiting comm thread. {0}", e);
666
CommunicationsUtilities.
Trace
("Exception reading from server. {0}", e);
784
CommunicationsUtilities.
Trace
("Exception while serializing packets: {0}", e);