Uh oh!
There was an error while loading. Please reload this page.
Add COMPlus_DiagnosticsServerTransportPath - #1600
Conversation
noahfalk
left a comment
There was a problem hiding this comment.
I'm requesting a little refactoring, but I think you are on the right track
There was a problem hiding this comment.
We should keep the COMPlus env var handling consolidated in clrconfigvalues.h and then read it with standard accessor (CLRConfig::GetConfigValue). You can pass in the alternate name as a string parameter and read it using code in the VM, for example in DiagnosticServer::Initialize() right next to where we read the EnableDiagnostics variable.
There was a problem hiding this comment.
I refactored it into DiagnosticServer::Initialize.
There was a problem hiding this comment.
It isn't ideal that it will be an either/or choice between connecting via PID or connecting via a custom path. I think it is a reasonable place to start though and we can wait for feedback. The ideal (which would take a good bit more work) is to listen to both the custom and default pipes simultaneously rather forcing a choice between them.
There was a problem hiding this comment.
I agree. I'll look into what it would take to do this. I imagine we could just create both sockets and then use a select like construct to call accept on both.
There was a problem hiding this comment.
I'll look into what it would take to do this
Don't spend too much time on it : ) I just mentioned it so everyone was aware, not a request that we implement it right now.
There was a problem hiding this comment.
I'll look into what it would take to do this
Don't spend too much time on it : ) I just mentioned it so everyone was aware, not a request that we implement it right now.
cac3baa to
e7dd773Comparejosalem
commented
Jan 15, 2020
Rebasing onto master in an attempt to get tests running. For some reason Windows CoreCLR and Libraries tests weren't running. Or at least the test logs weren't getting generated, which caused the python reporter scripts to fail with no test logs. |
e7dd773 to
894b3d6Comparejosalem
commented
Jan 16, 2020
Closing and reopening to use newest pipeline |
josalem
commented
Jan 22, 2020
/azp run runtime |
|
Azure Pipelines successfully started running 1 pipeline(s). |
josalem
commented
Jan 22, 2020
/azp run runtime |
|
Azure Pipelines successfully started running 1 pipeline(s). |
* allows users to specify a location for the Diagnostics Server
b2f7a5b to
68bf134Comparejosalem
commented
Jan 23, 2020
I believe the remaining errors are #1089 since I kicked off the build around 3:30pm and 4pm PST is midnight UST. Will rerun with azp. /azp run runtime |
safern
commented
Jan 23, 2020
/azp run runtime |
|
Azure Pipelines successfully started running 1 pipeline(s). |
This change allows users to change the location of the Diagnostics Server's OS Transport (Named Pipe on Windows and Unix Domain Socket on Linux).
I'm doing some end-to-end testing with an updated version of the .NET Global Diagnostics Tools that allows connecting to a specific pipe. I have tested this on Windows successfully and will be checking on Linux soon (I'll update this PR with the results).
CC - @tommcdon, @mikem8361