Repository navigation
[SymbolStore] Add support to index .NET Framework Runtime debugging modules - #4616
Merged
hoyosjs merged 8 commits intoMay 8, 2024
Merged
Conversation
leculver
reviewed
Apr 18, 2024
mdh1418
force-pushed
the
update_pe_file_key_generator_for_net_framework
branch
from
April 18, 2024 17:35
a171274 to
8b86dea
Compare
mikem8361
reviewed
Apr 18, 2024
mdh1418
force-pushed
the
update_pe_file_key_generator_for_net_framework
branch
from
April 24, 2024 15:22
8b86dea to
3447506
Compare
mikem8361
approved these changes
Apr 24, 2024
Contributor
|
You may have already down this, but one way to test this end to end (at for downloading), is the run all the diagnostics repo tests on Windows with test.cmd. That creates some .NET Framework dumps in diagnostics\artifacts\tmp\Debug\dumps\Desktop\net462. Then take the dotnet-symbol built with your changes and run it (dotnet artifacts\bin\dotnet-symbol\Debug\shims\net6.0\dotnet-symbol.dll -o <path-to-put-files> <dump-file>). "clr.dll", "sos.dll" and "mscordacwks.dll" should be downloaded. You may have to use the --internal-server option to download from symweb. |
mdh1418
marked this pull request as ready for review
April 25, 2024 02:44
mdh1418
force-pushed
the
update_pe_file_key_generator_for_net_framework
branch
3 times, most recently
from
May 2, 2024 18:15
a5c6f55 to
ca97c6e
Compare
noahfalk
reviewed
May 2, 2024
hoyosjs
reviewed
May 6, 2024
hoyosjs
approved these changes
May 6, 2024
Member
Author
hoyosjs
approved these changes
May 7, 2024
Member
Author
mdh1418
enabled auto-merge (squash)
May 7, 2024 21:06
mdh1418
force-pushed
the
update_pe_file_key_generator_for_net_framework
branch
from
May 8, 2024 02:53
2064495 to
e94c414
Compare
hoyosjs
disabled auto-merge
May 8, 2024 18:15
hoyosjs
added a commit
that referenced
this pull request
Jun 8, 2024
- Update Alpine versions (#4589) - Followup 1ES template changes (#4596) - Fix Test Results tab in github UI (#4607) - Move the symstore repo to diagnostics (#4603) - Fix recent Alpine repo build (#4612) - Fix issue #4611 - Switch to cross build for Alpine (#4621) - Add waithandle to --clrevents option (#4624) - Fix SOS unit tests dump generation fixture (#4636) - Fix CONTRACT return type (#4649) - [SymbolStore] Add support to index .NET Framework Runtime debugging modules (#4616) - [test][SOS] Disable OtherCommands Dumpmt test on Alpine (#4656) - Supports collecting GCSettingsEvent for gc-collect profile (#4615) - Update ipc-protocol.md (#4658) - Fixing a case where we should set the RundownKeyword (#4662) - Fix versioning of symstore ported assets (#4670) - Add ubuntu 22.04 testing. Update 6,7 and 8 runtime versions (#4676) - Update locker action version to update node version (#4682) - Use managed identity for blob upload of release assets (#4680) - Remove the symweb symbol server support (#4694) - [RISC-V] Add gcinfodumper implementation. (#4703) - Fix `pathto` SOS command. (#4706) - Add support for new exception trace storage format (#4635) - Change SOS breaking change from warning to error; better dotnet-dump target errors (#4713) - [Symbol] Add manifest generator (#4693) - Remove references to obsolete storage account variables (#4719) - Update DIA to 17.10.0-beta1.24272.1 (#4683) - Reenable SDL requirements (#4722) --------- Co-authored-by: dotnet-maestro[bot] <42748379+dotnet-maestro[bot]@users.noreply.github.com> Co-authored-by: dotnet-maestro[bot] <dotnet-maestro[bot]@users.noreply.github.com> Co-authored-by: Rich Lander <[email protected]> Co-authored-by: Mike McLaughlin <[email protected]> Co-authored-by: Jan Vorlicek <[email protected]> Co-authored-by: Grégoire <[email protected]> Co-authored-by: Tom McDonald <[email protected]> Co-authored-by: Mitchell Hwang <[email protected]> Co-authored-by: Andrew Au <[email protected]> Co-authored-by: Noah Falk <[email protected]> Co-authored-by: Mikhail Kurinnoi <[email protected]> Co-authored-by: Matt Mitchell <[email protected]>
hoyosjs
added a commit
that referenced
this pull request
Jun 12, 2024
- Update Alpine versions (#4589) - Followup 1ES template changes (#4596) - Fix Test Results tab in github UI (#4607) - Move the symstore repo to diagnostics (#4603) - Fix recent Alpine repo build (#4612) - Fix issue #4611 - Switch to cross build for Alpine (#4621) - Add waithandle to --clrevents option (#4624) - Fix SOS unit tests dump generation fixture (#4636) - Fix CONTRACT return type (#4649) - [SymbolStore] Add support to index .NET Framework Runtime debugging modules (#4616) - [test][SOS] Disable OtherCommands Dumpmt test on Alpine (#4656) - Supports collecting GCSettingsEvent for gc-collect profile (#4615) - Update ipc-protocol.md (#4658) - Fixing a case where we should set the RundownKeyword (#4662) - Fix versioning of symstore ported assets (#4670) - Add ubuntu 22.04 testing. Update 6,7 and 8 runtime versions (#4676) - Update locker action version to update node version (#4682) - Use managed identity for blob upload of release assets (#4680) - Remove the symweb symbol server support (#4694) - [RISC-V] Add gcinfodumper implementation. (#4703) - Fix `pathto` SOS command. (#4706) - Add support for new exception trace storage format (#4635) - Change SOS breaking change from warning to error; better dotnet-dump target errors (#4713) - [Symbol] Add manifest generator (#4693) - Remove references to obsolete storage account variables (#4719) - Update DIA to 17.10.0-beta1.24272.1 (#4683) - Reenable SDL requirements (#4722) - Disable CG on musl leg due to lack of proper support (#4726) - Update SOS breaking change version for Exception's _stackTrace changes in .NET 9 (#4733)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
SymbolStoreKeygenerators (*FileKeyGenerator) currently do not support .NET Framework scenarios which contain a different runtime module (clr.dll) than .NET Core scenarios (coreclr.dll). This PR aims to update thePEFileKeyGeneratorto support generatingSymbolStoreKeys for debugging modules used to debug the .NET Frameworkclr.dllruntime.Before
After
This PR does the following:
GetSpecialFileslogicsos.dllas a "special file" as it is not indexed under runtime module properties.NET Framework runtime module, DAC module, DBI module, SOS module indexing
clr.dll - identity
mscordbi.dll - identity + clr properties
mscordacwks.dll - identity + clr properties
mscordacwks_(long).dll - identity + clr properties
sos.dll - identity
sos_(long).dll - identity + clr properties
.NET Core runtime module, DAC module, DBI module indexing
coreclr.dll - identity
mscordbi.dll - identity + coreclr properties
mscordacwks.dll - identity + coreclr properties
mscordacwks_(long).dll - identity + coreclr properties
Running dotnet-symbol on
SOS.DotnetDumpCommands.Heap.dumpgen.dmp