20 references to Trace
Microsoft.Build (20)
BackEnd\Client\MSBuildClient.cs (2)
431
CommunicationsUtilities.
Trace
("Failed to send command packet of type '{0}' to server: {1}", packet?.Type.ToString() ?? "Unknown", ex);
604
CommunicationsUtilities.
Trace
("Build response received: exit code '{0}', exit type '{1}'", response.ExitCode, response.ExitType);
BackEnd\Components\Communications\DetouredNodeLauncher.cs (1)
141
CommunicationsUtilities.
Trace
("Successfully launched {1} node with PID {0}", sp.ProcessId, exeName);
BackEnd\Components\Communications\NodeLauncher.cs (2)
134
CommunicationsUtilities.
Trace
("Successfully launched {1} node with PID {0}", process.Id, exeName);
189
CommunicationsUtilities.
Trace
("Successfully launched {1} node with PID {0}", childProcessId, exeName);
BackEnd\Components\Communications\NodeProviderOutOfProcBase.cs (7)
234
CommunicationsUtilities.
Trace
("Attempting to connect to {1} existing processes '{0}'...", expectedProcessName, possibleRunningNodesList.Count);
288
CommunicationsUtilities.
Trace
("Successfully connected to existed node {0} which is PID {1}", nodeId, nodeToReuse.Id);
324
CommunicationsUtilities.
Trace
(
348
CommunicationsUtilities.
Trace
("Successfully connected to created node {0} which is PID {1}", nodeId, msbuildProcess.Id);
360
CommunicationsUtilities.
Trace
("Could not connect to node with PID {0}; it has exited with exit code {1}. This can indicate a crash at startup", msbuildProcess.Id, msbuildProcess.ExitCode);
434
CommunicationsUtilities.
Trace
("The remote pipe owner {0} does not match {1}", remoteOwner.Value, identifier.Value);
473
CommunicationsUtilities.
Trace
("Failed to connect to pipe {0}. {1}", pipeName, e.Message.TrimEnd());
BackEnd\Components\Communications\NodeProviderOutOfProcTaskHost.cs (1)
551
CommunicationsUtilities.
Trace
("For a host context of {0}, spawning executable from {1}.", hostContext.ToString(), msbuildLocation ?? "MSBuild.exe");
BackEnd\Node\OutOfProcNode.cs (1)
445
CommunicationsUtilities.
Trace
("Shutting down with reason: {0}, and exception: {1}.", _shutdownReason, _shutdownException);
BackEnd\Node\OutOfProcServerNode.cs (1)
248
CommunicationsUtilities.
Trace
("Shutting down with reason: {0}, and exception: {1}.", _shutdownReason, _shutdownException);
NodeEndpointOutOfProcBase.cs (5)
274
CommunicationsUtilities.
Trace
("Changing link status from {0} to {1}", _status.ToString(), newStatus.ToString());
411
CommunicationsUtilities.
Trace
("Handshake failed. Received {0} from host not {1}. Probably the host is a different MSBuild build.", handshakePart, handshakeComponents[i]);
439
CommunicationsUtilities.
Trace
("Handshake failed. Host user is {0} but we were created by {1}.", (clientIdentity == null) ? "<unknown>" : clientIdentity.Name, currentIdentity.Name);
588
CommunicationsUtilities.
Trace
("Incomplete header read from server. {0} of {1} bytes read", bytesRead, headerByte.Length);
605
CommunicationsUtilities.
Trace
("Exception while deserializing packet {0}: {1}", packetType, e);