You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Add config switch to fully disable hot-reload #78540
Enabling metadata updater used by hot-reload causes the runtime and libraries to take codepaths conditionalized by MetadataUpdater.IsSupported property. These codepaths receive less thorough testing and have higher risk of containing bugs. #78218 has been an example of such bug.
Metadata updater is automatically enabled when managed debugger is attached and there is no way to suppress it:
result = CORDebuggerAttached() || g_pConfig->ForceEnc() || g_pConfig->DebugAssembliesModifiable();
. It means that a bug in hot-reload specific codepath can make the application impossible to debug. This situation was encountered in #78218.
We should add a config switch that unconditionally disables metadata updater and that can be used as a workaround for bugs in hot-reload specific codepaths.
Activity
jkotas commentedon Nov 18, 2022
cc @jogibear9988
marek-safar commentedon Nov 19, 2022
/cc @lambdageek
Add a config switch to fully disable hot-reload (#123744)
Add a config switch to fully disable hot-reload (dotnet#123744)