Open jonathanpeppers opened 2 years ago
Android for .NET (net6.0-android, etc.)
.NET 6
The .NET Podcast app shows dotnet trace output for:
dotnet trace
https://github.com/xamarin/xamarin-android/blob/af2875138afada68a870cc803c3e8dcd2e85ff6f/src/Mono.Android/Android.Runtime/AndroidRuntime.cs#L178-L188
https://github.com/xamarin/xamarin-android/blob/af2875138afada68a870cc803c3e8dcd2e85ff6f/src/Mono.Android/Android.Runtime/AndroidRuntime.cs#L206-L211
This logging is almost always disabled, but we call into unmanaged code to increment an integer.
We could ideally port this logging to EventSource and do everything on the managed side -- avoid p/invoke for these.
Get dotnet trace output for an .NET 6 app.
No response
FYI this an idea for the future.
Android application type
Android for .NET (net6.0-android, etc.)
Affected platform version
.NET 6
Description
The .NET Podcast app shows
dotnet trace
output for:https://github.com/xamarin/xamarin-android/blob/af2875138afada68a870cc803c3e8dcd2e85ff6f/src/Mono.Android/Android.Runtime/AndroidRuntime.cs#L178-L188
https://github.com/xamarin/xamarin-android/blob/af2875138afada68a870cc803c3e8dcd2e85ff6f/src/Mono.Android/Android.Runtime/AndroidRuntime.cs#L206-L211
This logging is almost always disabled, but we call into unmanaged code to increment an integer.
We could ideally port this logging to EventSource and do everything on the managed side -- avoid p/invoke for these.
Steps to Reproduce
Get
dotnet trace
output for an .NET 6 app.Did you find any workaround?
No response
Relevant log output
No response