Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PDB Generator Status #1422

Open
2 of 6 tasks
siegfriedpammer opened this issue Feb 16, 2019 · 1 comment
Open
2 of 6 tasks

PDB Generator Status #1422

siegfriedpammer opened this issue Feb 16, 2019 · 1 comment
Labels

Comments

@siegfriedpammer
Copy link
Member

siegfriedpammer commented Feb 16, 2019

See #1230 as well.

@dgrunwald
Copy link
Member

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants