Skip to content

Commit 3b21b90

Browse files
authored
Debugger IPC creation failure should not abort coreclr startup (#90161)
* Debugger IPC creation failure should not abort coreclr startup * Add log message for debugger pipe init failure * Use Stress log instead of COMPLUS logging
1 parent 8c70ab4 commit 3b21b90

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/coreclr/debug/ee/debugger.cpp

+2-1
Original file line numberDiff line numberDiff line change
@@ -1947,7 +1947,8 @@ HRESULT Debugger::Startup(void)
19471947
if (FAILED(hr))
19481948
{
19491949
ShutdownTransport();
1950-
ThrowHR(hr);
1950+
STRESS_LOG0(LF_CORDB, LL_ERROR, "D::S: The debugger pipe failed to initialize in /tmp or $TMPDIR.\n");
1951+
return S_OK; // we do not want debugger IPC to block runtime initialization
19511952
}
19521953
#endif // FEATURE_DBGIPC_TRANSPORT_VM
19531954

0 commit comments

Comments
 (0)