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

[docs] how to get gc dumps w/ dotnet-trace #7875

Merged
merged 8 commits into from
Mar 21, 2023

Conversation

jonathanpeppers
Copy link
Member

Context: dotnet/maui#13833

Writing down how to do this for future self and others!

Context: dotnet/maui#13833

Writing down how to do this for future self and others!
Copy link
Member

@filipnavara filipnavara left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I polished the mono-nettrace-gcdump tool a little and renamed the repository/project.

There's also new mode that can skip the dotnet-trace collect step entirely by using mono-gcdump collect --diagnostic-port <port specification> but it's largely untested.

Documentation/guides/tracing.md Outdated Show resolved Hide resolved
Documentation/guides/tracing.md Outdated Show resolved Hide resolved
Co-authored-by: Filip Navara <filip.navara@gmail.com>
@jonathanpeppers
Copy link
Member Author

@jonpryor thanks, I incorporated more examples.

`GCHandleKeyword` crashes on iOS/Catalyst

So let's just take it out, doesn't appear to be needed:

https://discord.com/channels/732297728826277939/732297808148824115/1084926865401196634
Co-authored-by: Filip Navara <filip.navara@gmail.com>
@jonpryor jonpryor merged commit 7d97205 into dotnet:main Mar 21, 2023
@jonathanpeppers jonathanpeppers deleted the docs-gc-dumps branch March 22, 2023 02:13
grendello added a commit to grendello/xamarin-android that referenced this pull request Mar 22, 2023
* main:
  [docs] how to get gc dumps w/ `dotnet-trace` (dotnet#7875)
  [Xamarin.Android.Build.Tasks] Fix AndroidPackagingOptionsExclude (dotnet#7903)
  Bump to dotnet/installer@c373093 8.0.100-preview.3.23170.5 (dotnet#7901)
  [Xamarin.Android.Build.Tasks] Updating NuGet packages does not update the app (dotnet#7892)
  [vs-workload] Remove @(MultiTargetPackNames) (dotnet#7894)
@github-actions github-actions bot locked and limited conversation to collaborators Jan 22, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants