Skip to content

Install the integration test trace listener in Roslyn OOP#43879

Merged
sharwell merged 3 commits intodotnet:masterfrom
sharwell:trace-listener
May 4, 2020
Merged

Install the integration test trace listener in Roslyn OOP#43879
sharwell merged 3 commits intodotnet:masterfrom
sharwell:trace-listener

Conversation

@sharwell
Copy link
Contributor

@sharwell sharwell commented May 1, 2020

No description provided.

@sharwell sharwell requested a review from a team as a code owner May 1, 2020 19:56
Copy link
Member

@tmat tmat left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

:shipit:

internal class IntegrationTestTraceListener : TraceListener
internal class WatsonTraceListener : TraceListener
{
public override void Fail(string message, string detailMessage)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fail [](start = 29, length = 4)

How does this behave when the debugger is attached? When debugging we shouldn't just fail fast on failed assert.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This code just delegates to FatalError.Report. Handling for debugger attachment, if any, would be there.

Also note that attaching the debugger to the ServiceHub process is not a standard scenario.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Also note that attaching the debugger to the ServiceHub process is not a standard scenario.

I do it all the time. How else would you debug our remote services?

@sharwell sharwell merged commit f0a3947 into dotnet:master May 4, 2020
@ghost ghost added this to the Next milestone May 4, 2020
@sharwell sharwell deleted the trace-listener branch May 4, 2020 19:45
@JoeRobich JoeRobich modified the milestones: Next, 16.7.P2 May 18, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants