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

Debug ID not generated for Full PDB format on Windows #2221

Closed
mattjohnsonpint opened this issue Mar 8, 2023 · 0 comments · Fixed by #2222
Closed

Debug ID not generated for Full PDB format on Windows #2221

mattjohnsonpint opened this issue Mar 8, 2023 · 0 comments · Fixed by #2222
Labels
Bug Something isn't working

Comments

@mattjohnsonpint
Copy link
Contributor

mattjohnsonpint commented Mar 8, 2023

Package

Sentry

.NET Flavor

Any

.NET Version

Any

OS

Windows

SDK Version

3.29.0

Steps to Reproduce

If a project has <DebugType>full</DebugType>, and it is compiled on Windows, it will have a full Windows PDB debug file generated. Sentry CLI knows how to deal with these, but we still need to be able to send a debug_id at runtime to match.

Presently, we are not sending any debug_id except for portable PDB format. We need to also send it when a full PDB was built.

This is reproducible on Sentry.Samples.Console.

dotnet run --project samples\Sentry.Samples.Console.Basic -f net48 -p:DebugType=full

Same for net6.0. (It's not specific to .NET Framework.)

Expected Result

The debug_id should be sent. Symbolication and source context should work.

Actual Result

The debug output will contain:

Info: Skipping DebugImage for module 'Sentry.Samples.Console.Basic.exe' because DebugId couldn't be determined

The event is missing a debug_id. Symbolication and source context does not work.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant