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

No debug symbol #1426

Closed
ghost opened this issue Feb 18, 2019 · 5 comments
Closed

No debug symbol #1426

ghost opened this issue Feb 18, 2019 · 5 comments

Comments

@ghost
Copy link

ghost commented Feb 18, 2019

ILSpy version 4.0.0.4518-rc1
Save C# project no debug symbol

@christophwille
Copy link
Member

You mean when you save an assembly as C# project? Well, all we create is C# files, you'd have to compile that to get a PDB (or use the Generate PDB feature instead).

@ghost
Copy link
Author

ghost commented Feb 18, 2019

You mean when you save an assembly as C# project? Well, all we create is C# files, you'd have to compile that to get a PDB (or use the Generate PDB feature instead).

I save a class as C# files, it has debug symbol

@christophwille
Copy link
Member

Sorry I don't follow.

@siegfriedpammer
Copy link
Member

See #1328 (comment)

@dgrunwald
Copy link
Member

ILSpy has two features:

  • Decompile + save code as .csproj. You can then recompile this project to generate a new DLL with new debug symbols.
  • Generate .pdb file (with embedded sources) matching the existing DLL.

These are unrelated features; what exactly do you think should ILSpy do differently?
Please be specific about what you are doing and what kind of output you expect. Currently we have no idea which ILSpy feature you are talking about.

@ghost ghost closed this as completed Feb 20, 2019
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Aug 10, 2020
This issue was closed.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants