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
If everything is working optimally, debugging release binaries with generated PDB files will still have some limitations:
If the assembly was originally built without debug info; it will lack a debug header and Visual Studio will never attempt to load any PDB file for it.
If the assembly uses [assembly: Debuggable(DebuggableAttribute.DebuggingModes.IgnoreSymbolStoreSequencePoints)], stepping will be unreliable. The C# compiler emits this attribute by default in some release builds (depending on the debug options in use).
In release builds, the C# compiler likes to optimize out local variables, using the IL evaluation stack instead. There is no way for PDB debug information to assign names to evaluation stack slots, so it will be impossible to view the values of such variables.
See #1230 as well.
The text was updated successfully, but these errors were encountered: