dotnet / android

.NET for Android provides open-source bindings of the Android SDK for use with .NET managed languages such as C#
MIT License
1.93k stars 532 forks source link

Profiling .NET MAUI Android Apps #9439

Closed ShubhamSh04 closed 1 day ago

ShubhamSh04 commented 1 month ago

Android framework version

net8.0-android

Affected platform version

Android 11

Description

Image

Steps to Reproduce

Created the Sample Maui App. Trying to implement the profiling in android app. Following this article "https://github.com/dotnet/android/blob/main/Documentation/guides/tracing.md?plain=1" After executing the "dotnet-trace collect -p 38604 --format speedscope" command facing the below issue I had also attached the screenshot of the sameImage . System.IO.EndOfStreamException: Unable to read beyond the end of the stream. at System.IO.BinaryReader.InternalRead(Int32 numBytes)

Thanks for the help !!

Did you find any workaround?

No response

Relevant log output

No response

jonathanpeppers commented 1 month ago

I have a YouTube video on dotnet-trace, etc. I would guess there is probably a step you've missed:

jonpryor commented 1 week ago

Did the YouTube video help?

dotnet-policy-service[bot] commented 1 week ago

Hi @ShubhamSh04. We have added the "need-info" label to this issue, which indicates that we have an open question for you before we can take further action. This issue will be closed automatically in 7 days if we do not hear back from you by then - please feel free to re-open it if you come back to this issue after that time.

dotnet-policy-service[bot] commented 1 day ago

Hi @ShubhamSh04. Due to inactivity, we will be closing this issue. Please feel free to re-open this issue if the issue persists. For enhanced visibility, if over 7 days have passed, please open a new issue and link this issue there. Thank you.