You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
While trying to setup monitoring of startup performance of our new MAUI app I wanted to monitor JIT time of our old XF app and our new MAUI app.
While trying to generate methods.txt I am getting odd output. The end of the file appears truncated. When it isn't truncated I am unsure if it is written to disk correctly or if it is truncated at the end of a line.
Add android:debuggable="true" to AndroidManifest.xml
Update nugets to ensure latest version of MAUI
Setup debug.mono.log to be timing as per jit-timers
Build, deploy, and run app in release mode (dotnet publish -t:Run -f net9.0-android)
Wait about 10 seconds
Get methods.txt, adb shell run-as com.companyname.mauiapp10 cat files/.__override__/arm64-v8a/methods.txt > methods.txt
Edit file and observe its end
Did you find any workaround?
Nope. Deleting the file adb shell run-as com.companyname.mauiapp10 rm files/.__override__/arm64-v8a/methods.txt and re-running it will sometimes give a different line end.
Relevant log output
The text was updated successfully, but these errors were encountered:
Android framework version
net9.0-android
Affected platform version
.NET 9.0.101
Description
While trying to setup monitoring of startup performance of our new MAUI app I wanted to monitor JIT time of our old XF app and our new MAUI app.
While trying to generate
methods.txt
I am getting odd output. The end of the file appears truncated. When it isn't truncated I am unsure if it is written to disk correctly or if it is truncated at the end of a line.From the steps below the end of my log looks like
Here is the full log,
methods.txt
Steps to Reproduce
android:debuggable="true"
toAndroidManifest.xml
debug.mono.log
to betiming
as per jit-timersdotnet publish -t:Run -f net9.0-android
)methods.txt
,adb shell run-as com.companyname.mauiapp10 cat files/.__override__/arm64-v8a/methods.txt > methods.txt
Did you find any workaround?
Nope. Deleting the file
adb shell run-as com.companyname.mauiapp10 rm files/.__override__/arm64-v8a/methods.txt
and re-running it will sometimes give a different line end.Relevant log output
The text was updated successfully, but these errors were encountered: