Skip to content

Commit

Permalink
Debugger IPC creation failure should not abort coreclr startup (#90161)
Browse files Browse the repository at this point in the history
* Debugger IPC creation failure should not abort coreclr startup

* Add log message for debugger pipe init failure

* Use Stress log instead of COMPLUS logging
  • Loading branch information
tommcdon authored Aug 10, 2023
1 parent 8c70ab4 commit 3b21b90
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/coreclr/debug/ee/debugger.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1947,7 +1947,8 @@ HRESULT Debugger::Startup(void)
if (FAILED(hr))
{
ShutdownTransport();
ThrowHR(hr);
STRESS_LOG0(LF_CORDB, LL_ERROR, "D::S: The debugger pipe failed to initialize in /tmp or $TMPDIR.\n");
return S_OK; // we do not want debugger IPC to block runtime initialization
}
#endif // FEATURE_DBGIPC_TRANSPORT_VM

Expand Down

0 comments on commit 3b21b90

Please sign in to comment.