dotnet/android

Debugger gives up waiting for assemblies to load.

Opened this issue · 6 comments

RobTF commented

Android framework version

net8.0-android

Affected platform version

VS 2022

Description

When launching an app on Android I'm beginning to get this as the app grows;

image

It takes so long to spin up the app with all the assembly loading stuff the debugger times out.

Apologies in advance for the sarcasm but it's somewhat therapeutic. This sort of thing has plagued the iOS side of things for a while with the watchdog giving up on execution and killing the app before the debugger can latch properly.

Steps to Reproduce

  1. Write a non-trivial app.
  2. Try to debug it.
  3. Observe assembly loading log spam in output.
  4. White knuckle as the logs continue flow.

4a. Quietly celebrate as you get one more relatively trouble-free cycle of your > 1 minute long dev loop for some minor code change.
-- or --
4b. Wipe away tears of frustration as useless exception dialog pops up from the depths of the toolchain and yet another mobile development issue raises its head. Try not to look at the clock as it reminds you of the amount of your life you're wasting battling with the tooling.

Did you find any workaround?

Go for a walk and forget about it for half an hour.

Relevant log output

Start debugging Android application ...
Forwarding debugger port 8895
Detecting existing process
> am start -a "android.intent.action.MAIN" -c "android.intent.category.LAUNCHER" -n "com.MyOrg.app.CoolApp/crc64610143b76dca1dad.MainActivity"
> Starting: Intent { act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] cmp=com.MyOrg.app.CoolApp/crc64610143b76dca1dad.MainActivity }
Loaded assembly: /data/data/com.MyOrg.app.CoolApp/files/.__override__/System.Private.CoreLib.dll [External]
Loaded assembly: /data/data/com.MyOrg.app.CoolApp/files/.__override__/MyOrg.App.Tracking.dll
Loaded assembly: /data/data/com.MyOrg.app.CoolApp/files/.__override__/Mono.Android.dll [External]
Loaded assembly: /data/data/com.MyOrg.app.CoolApp/files/.__override__/System.Runtime.dll [External]
Loaded assembly: /data/data/com.MyOrg.app.CoolApp/files/.__override__/Java.Interop.dll [External]
Loaded assembly: /data/data/com.MyOrg.app.CoolApp/files/.__override__/System.Runtime.InteropServices.dll [External]
Resolved pending breakpoint for 'Android.Runtime.JNIEnvInit.RegisterJniNatives(System.IntPtr, System.Int32, System.IntPtr, System.IntPtr, System.Int32)' to /Users/runner/work/1/s/xamarin-android/src/Mono.Android/Android.Runtime/JNIEnvInit.cs:59 [0x00000].
[smo.app.Locator] Late-enabling -Xcheck:jni
[smo.app.Locator] Using CollectorTypeCMC GC.
[CompatibilityChangeReporter] Compat change id reported: 171979766; UID 10290; state: ENABLED
[CompatibilityChangeReporter] Compat change id reported: 242716250; UID 10290; state: ENABLED
[nativeloader] Configuring clns-4 for other apk /system/framework/org.apache.http.legacy.jar. target_sdk_version=34, uses_libraries=ALL, library_path=/data/app/~~Oe2D9mNLQXo7cHoPQsyiRg==/com.MyOrg.app.CoolApp-BdO30hQOLGOf-x7VdY9Q0A==/lib/arm64:/data/app/~~Oe2D9mNLQXo7cHoPQsyiRg==/com.MyOrg.app.CoolApp-BdO30hQOLGOf-x7VdY9Q0A==/base.apk!/lib/arm64-v8a, permitted_path=/data:/mnt/expand:/data/user/0/com.MyOrg.app.CoolApp
[nativeloader] Extending system_exposed_libraries: libedgetpu_dba.google.so
[ziparchive] Unable to open '/data/app/~~Oe2D9mNLQXo7cHoPQsyiRg==/com.MyOrg.app.CoolApp-BdO30hQOLGOf-x7VdY9Q0A==/base.dm': No such file or directory
[ziparchive] Unable to open '/data/app/~~Oe2D9mNLQXo7cHoPQsyiRg==/com.MyOrg.app.CoolApp-BdO30hQOLGOf-x7VdY9Q0A==/base.dm': No such file or directory
[nativeloader] Configuring clns-5 for other apk /data/app/~~Oe2D9mNLQXo7cHoPQsyiRg==/com.MyOrg.app.CoolApp-BdO30hQOLGOf-x7VdY9Q0A==/base.apk. target_sdk_version=34, uses_libraries=, library_path=/data/app/~~Oe2D9mNLQXo7cHoPQsyiRg==/com.MyOrg.app.CoolApp-BdO30hQOLGOf-x7VdY9Q0A==/lib/arm64:/data/app/~~Oe2D9mNLQXo7cHoPQsyiRg==/com.MyOrg.app.CoolApp-BdO30hQOLGOf-x7VdY9Q0A==/base.apk!/lib/arm64-v8a, permitted_path=/data:/mnt/expand:/data/user/0/com.MyOrg.app.CoolApp
[GraphicsEnvironment] Currently set values for:
[GraphicsEnvironment]   angle_gl_driver_selection_pkgs=[com.android.angle, com.linecorp.b612.android, com.campmobile.snow, com.google.android.apps.tachyon]
[GraphicsEnvironment]   angle_gl_driver_selection_values=[angle, native, native, native]
[GraphicsEnvironment] com.MyOrg.app.CoolApp is not listed in per-application setting
[GraphicsEnvironment] Neither updatable production driver nor prerelease driver is supported.
[debug-app-helper] Checking if libmonodroid was unpacked to /data/app/~~Oe2D9mNLQXo7cHoPQsyiRg==/com.MyOrg.app.CoolApp-BdO30hQOLGOf-x7VdY9Q0A==/lib/arm64/libmonodroid.so
[debug-app-helper] Native libs extracted to /data/app/~~Oe2D9mNLQXo7cHoPQsyiRg==/com.MyOrg.app.CoolApp-BdO30hQOLGOf-x7VdY9Q0A==/lib/arm64, assuming application/android:extractNativeLibs == true
[debug-app-helper] Setting up for DSO lookup in app data directories
[debug-app-helper] Added filesystem DSO lookup location: /data/app/~~Oe2D9mNLQXo7cHoPQsyiRg==/com.MyOrg.app.CoolApp-BdO30hQOLGOf-x7VdY9Q0A==/lib/arm64
[debug-app-helper] Using runtime path: /data/app/~~Oe2D9mNLQXo7cHoPQsyiRg==/com.MyOrg.app.CoolApp-BdO30hQOLGOf-x7VdY9Q0A==/lib/arm64
[debug-app-helper] checking directory: `/data/user/0/com.MyOrg.app.CoolApp/files/.__override__/lib`
[debug-app-helper] directory does not exist: `/data/user/0/com.MyOrg.app.CoolApp/files/.__override__/lib`
[debug-app-helper] Checking whether Mono runtime exists at: /data/user/0/com.MyOrg.app.CoolApp/files/.__override__/libmonosgen-2.0.so
[debug-app-helper] Checking whether Mono runtime exists at: /data/app/~~Oe2D9mNLQXo7cHoPQsyiRg==/com.MyOrg.app.CoolApp-BdO30hQOLGOf-x7VdY9Q0A==/lib/arm64/libmonosgen-2.0.so
[debug-app-helper] Mono runtime found at: /data/app/~~Oe2D9mNLQXo7cHoPQsyiRg==/com.MyOrg.app.CoolApp-BdO30hQOLGOf-x7VdY9Q0A==/lib/arm64/libmonosgen-2.0.so
[smo.app.Locator] Attempt to remove non-JNI local reference
[DOTNET] JNI_OnLoad: JNI_OnLoad in pal_jni.c
[DOTNET] GetOptionalClassGRef: optional class com/android/org/conscrypt/OpenSSLEngineImpl was not found
[monodroid] Creating public update directory: `/data/user/0/com.MyOrg.app.CoolApp/files/.__override__`
[smo.app.Locator] Attempt to remove non-JNI local reference
[monodroid-debug] Trying to initialize the debugger with options: --debugger-agent=transport=dt_socket,loglevel=0,address=127.0.0.1:8895,server=y,embedding=1,timeout=1723806699
[monodroid-assembly] open_from_bundles: failed to load assembly MyOrg.App.Tracking.dll
[monodroid-gc] GREF GC Threshold: 46080
[monodroid-assembly] open_from_bundles: failed to load assembly Mono.Android.dll
[monodroid-assembly] open_from_bundles: failed to load assembly System.Runtime.dll
[monodroid-assembly] open_from_bundles: failed to load assembly Java.Interop.dll
[monodroid-assembly] open_from_bundles: failed to load assembly System.Runtime.InteropServices.dll
[monodroid-assembly] open_from_bundles: failed to load assembly System.Collections.dll
Loaded assembly: /data/data/com.MyOrg.app.CoolApp/files/.__override__/System.Collections.dll [External]
[monodroid-assembly] open_from_bundles: failed to load assembly Mono.Android.Runtime.dll
Loaded assembly: /data/data/com.MyOrg.app.CoolApp/files/.__override__/Mono.Android.Runtime.dll [External]
[monodroid-assembly] open_from_bundles: failed to load assembly System.Threading.dll
Loaded assembly: /data/data/com.MyOrg.app.CoolApp/files/.__override__/System.Threading.dll [External]
[monodroid-assembly] open_from_bundles: failed to load assembly System.Threading.Thread.dll
[monodroid-assembly] open_from_bundles: failed to load assembly System.Diagnostics.StackTrace.dll
Loaded assembly: /data/data/com.MyOrg.app.CoolApp/files/.__override__/System.Threading.Thread.dll [External]
Loaded assembly: /data/data/com.MyOrg.app.CoolApp/files/.__override__/System.Diagnostics.StackTrace.dll [External]
[smo.app.Locator] Attempt to remove non-JNI local reference
Loaded assembly: data-0xb4000075bf2ea070 [External]
Loaded assembly: data-0xb4000075bf32a0b0 [External]
Loaded assembly: data-0xb4000077d6326de0 [External]
[monodroid-assembly] open_from_bundles: failed to load assembly netstandard.dll
Loaded assembly: /data/data/com.MyOrg.app.CoolApp/files/.__override__/netstandard.dll [External]
[monodroid-assembly] open_from_bundles: failed to load assembly System.Linq.dll
Loaded assembly: /data/data/com.MyOrg.app.CoolApp/files/.__override__/System.Linq.dll [External]
[monodroid-assembly] open_from_bundles: failed to load assembly Microsoft.VisualStudio.DesignTools.TapContract.dll
[monodroid-assembly] open_from_bundles: failed to load assembly Microsoft.VisualStudio.DesignTools.TapContract.dll
[monodroid-assembly] open_from_bundles: failed to load assembly Xamarin.HotReload.Contracts.dll
[monodroid-assembly] open_from_bundles: failed to load assembly Xamarin.HotReload.Contracts.dll
[monodroid-assembly] open_from_bundles: failed to load assembly System.Collections.Concurrent.dll
Loaded assembly: /data/data/com.MyOrg.app.CoolApp/files/.__override__/System.Collections.Concurrent.dll [External]
Resolved pending breakpoint for 'Xamarin.HotReload.HotReloadAgent.BreakpointSendToIde(System.String)' to D:\a\_work\1\s\HotReload\Source\Xamarin.HotReload.Agent\HotReloadAgent.cs:423 [0x00000].
[monodroid-assembly] open_from_bundles: failed to load assembly System.Text.Json.dll
Loaded assembly: /data/data/com.MyOrg.app.CoolApp/files/.__override__/System.Text.Json.dll [External]
[monodroid-assembly] open_from_bundles: failed to load assembly System.Text.Encodings.Web.dll
Loaded assembly: /data/data/com.MyOrg.app.CoolApp/files/.__override__/System.Text.Encodings.Web.dll [External]
[monodroid-assembly] open_from_bundles: failed to load assembly System.ComponentModel.dll
Loaded assembly: /data/data/com.MyOrg.app.CoolApp/files/.__override__/System.ComponentModel.dll [External]
[monodroid-assembly] open_from_bundles: failed to load assembly Microsoft.Maui.Controls.dll
[monodroid-assembly] open_from_bundles: failed to load assembly Xamarin.HotReload.Contracts.dll
[monodroid-assembly] open_from_bundles: failed to load assembly Xamarin.HotReload.Contracts.dll
Loaded assembly: /data/data/com.MyOrg.app.CoolApp/files/.__override__/Microsoft.Maui.Controls.dll [External]
[monodroid-assembly] open_from_bundles: failed to load assembly Microsoft.VisualStudio.DesignTools.TapContract.dll
[monodroid-assembly] open_from_bundles: failed to load assembly Microsoft.VisualStudio.DesignTools.TapContract.dll
[monodroid-assembly] open_from_bundles: failed to load assembly System.ObjectModel.dll
[monodroid-assembly] open_from_bundles: failed to load assembly Microsoft.Maui.dll
Loaded assembly: /data/data/com.MyOrg.app.CoolApp/files/.__override__/System.ObjectModel.dll [External]
Loaded assembly: /data/data/com.MyOrg.app.CoolApp/files/.__override__/Microsoft.Maui.dll [External]
[monodroid-assembly] open_from_bundles: failed to load assembly Microsoft.Maui.Graphics.dll
[monodroid-assembly] open_from_bundles: failed to load assembly Microsoft.Maui.Essentials.dll
[monodroid-assembly] open_from_bundles: failed to load assembly Microsoft.Extensions.Logging.Abstractions.dll
Loaded assembly: /data/data/com.MyOrg.app.CoolApp/files/.__override__/Microsoft.Maui.Graphics.dll [External]
Loaded assembly: /data/data/com.MyOrg.app.CoolApp/files/.__override__/Microsoft.Maui.Essentials.dll [External]
Loaded assembly: /data/data/com.MyOrg.app.CoolApp/files/.__override__/Microsoft.Extensions.Logging.Abstractions.dll [External]
[monodroid-assembly] open_from_bundles: failed to load assembly System.Runtime.Loader.dll
Loaded assembly: /data/data/com.MyOrg.app.CoolApp/files/.__override__/System.Runtime.Loader.dll [External]
Resolved pending breakpoint for 'Xamarin.HotReload.HotReloadAgent.BreakpointCheckpoint()' to D:\a\_work\1\s\HotReload\Source\Xamarin.HotReload.Agent\HotReloadAgent.cs:418 [0x00000].
[monodroid-assembly] open_from_bundles: failed to load assembly System.Memory.dll
Loaded assembly: /data/data/com.MyOrg.app.CoolApp/files/.__override__/System.Memory.dll [External]
[monodroid-assembly] open_from_bundles: failed to load assembly System.Reflection.Emit.Lightweight.dll
[monodroid-assembly] open_from_bundles: failed to load assembly System.Reflection.Emit.ILGeneration.dll
[monodroid-assembly] open_from_bundles: failed to load assembly System.Reflection.Primitives.dll
Loaded assembly: /data/data/com.MyOrg.app.CoolApp/files/.__override__/System.Reflection.Emit.Lightweight.dll [External]
Loaded assembly: /data/data/com.MyOrg.app.CoolApp/files/.__override__/System.Reflection.Emit.ILGeneration.dll [External]
Loaded assembly: /data/data/com.MyOrg.app.CoolApp/files/.__override__/System.Reflection.Primitives.dll [External]
[CompatibilityChangeReporter] Compat change id reported: 183155436; UID 10290; state: ENABLED
[FirebaseApp] Device unlocked: initializing all Firebase APIs for app [DEFAULT]
[FirebaseInitProvider] FirebaseApp initialization successful
[Sentry] io.sentry.auto-init read: false
[Sentry] Retrieving auto-init from AndroidManifest.xml
[CompatibilityChangeReporter] Compat change id reported: 279646685; UID 10290; state: DISABLED
[WM-WrkMgrInitializer] Initializing WorkManager with default configuration.
[monodroid-assembly] open_from_bundles: failed to load assembly Xamarin.AndroidX.Core.dll
Loaded assembly: /data/data/com.MyOrg.app.CoolApp/files/.__override__/Xamarin.AndroidX.Core.dll [External]
[monodroid-assembly] open_from_bundles: failed to load assembly Microsoft.Extensions.DependencyInjection.Abstractions.dll
[CompatibilityChangeReporter] Compat change id reported: 160794467; UID 10290; state: ENABLED
[CompatibilityChangeReporter] Compat change id reported: 194532703; UID 10290; state: ENABLED
[CompatibilityChangeReporter] Compat change id reported: 253665015; UID 10290; state: ENABLED
[CompatibilityChangeReporter] Compat change id reported: 311402873; UID 10290; state: DISABLED
[CompatibilityChangeReporter] Compat change id reported: 323349338; UID 10290; state: DISABLED
Loaded assembly: /data/data/com.MyOrg.app.CoolApp/files/.__override__/Microsoft.Extensions.DependencyInjection.Abstractions.dll [External]
[monodroid-assembly] open_from_bundles: failed to load assembly System.Console.dll
Loaded assembly: /data/data/com.MyOrg.app.CoolApp/files/.__override__/System.Console.dll [External]
[monodroid-assembly] open_from_bundles: failed to load assembly Newtonsoft.Json.dll
[monodroid-assembly] open_from_bundles: failed to load assembly Microsoft.Maui.Controls.Xaml.dll
[monodroid-assembly] open_from_bundles: failed to load assembly MyOrg.Maui.dll
[monodroid-assembly] open_from_bundles: failed to load assembly CommunityToolkit.Maui.dll
[monodroid-assembly] open_from_bundles: failed to load assembly CommunityToolkit.Maui.Core.dll
[monodroid-assembly] open_from_bundles: failed to load assembly MyOrg.Maui.Globalization.dll
[monodroid-assembly] open_from_bundles: failed to load assembly MyOrg.Maui.Notifications.dll
[monodroid-assembly] open_from_bundles: failed to load assembly MyOrg.Maui.Logging.dll
[monodroid-assembly] open_from_bundles: failed to load assembly Microsoft.Extensions.Logging.Console.dll
[monodroid-assembly] open_from_bundles: failed to load assembly MyOrg.ApiClient.Abstractions.dll
[monodroid-assembly] open_from_bundles: failed to load assembly Microsoft.Extensions.Http.dll
[monodroid-assembly] open_from_bundles: failed to load assembly PureWeen.Maui.FixesAndWorkarounds.dll
[monodroid-assembly] open_from_bundles: failed to load assembly Microsoft.Maui.Controls.Maps.dll
[monodroid-assembly] open_from_bundles: failed to load assembly Microsoft.Extensions.Configuration.dll
[monodroid-assembly] open_from_bundles: failed to load assembly Microsoft.Extensions.Configuration.Abstractions.dll
[monodroid-assembly] open_from_bundles: failed to load assembly SkiaSharp.Views.Maui.Controls.Compatibility.dll
[monodroid-assembly] open_from_bundles: failed to load assembly MyOrg.Maui.FontAwesome.dll
[monodroid-assembly] open_from_bundles: failed to load assembly MyOrg.Maui.Controls.dll
[monodroid-assembly] open_from_bundles: failed to load assembly MyOrg.Maui.Security.dll
[monodroid-assembly] open_from_bundles: failed to load assembly MyOrg.Maui.Dialogs.dll
[monodroid-assembly] open_from_bundles: failed to load assembly MyOrg.Maui.Audio.dll
[monodroid-assembly] open_from_bundles: failed to load assembly MyOrg.Maui.Graphics.dll
[monodroid-assembly] open_from_bundles: failed to load assembly MyOrg.Maui.Polly.dll
[monodroid-assembly] open_from_bundles: failed to load assembly MyOrg.Maui.Authentication.dll
[monodroid-assembly] open_from_bundles: failed to load assembly MyOrg.Maui.Caching.dll
[monodroid-assembly] open_from_bundles: failed to load assembly MyOrg.Clock.dll
[monodroid-assembly] open_from_bundles: failed to load assembly Microsoft.Extensions.Primitives.dll
[monodroid-assembly] open_from_bundles: failed to load assembly Microsoft.Extensions.Options.ConfigurationExtensions.dll
[monodroid-assembly] open_from_bundles: failed to load assembly Microsoft.Extensions.Logging.Configuration.dll
[monodroid-assembly] open_from_bundles: failed to load assembly Microsoft.Extensions.Logging.dll
[monodroid-assembly] open_from_bundles: failed to load assembly AutoMapper.dll
[monodroid-assembly] open_from_bundles: failed to load assembly MyOrg.ApiClient.dll
[monodroid-assembly] open_from_bundles: failed to load assembly MyOrg.Security.Client.dll
[monodroid-assembly] open_from_bundles: failed to load assembly MyOrg.Licencing.Client.dll
[monodroid-assembly] open_from_bundles: failed to load assembly MyOrg.Devices.Client.dll
[monodroid-assembly] open_from_bundles: failed to load assembly MyOrg.Location.Client.dll
[monodroid-assembly] open_from_bundles: failed to load assembly MyOrg.GeoData.Client.dll
[monodroid-assembly] open_from_bundles: failed to load assembly MyOrg.Intelligence.Client.dll
[monodroid-assembly] open_from_bundles: failed to load assembly MyOrg.Alerts.Client.dll
[monodroid-assembly] open_from_bundles: failed to load assembly MyOrg.Assignments.Client.dll
[monodroid-assembly] open_from_bundles: failed to load assembly MyOrg.Checkins.Client.dll
[monodroid-assembly] open_from_bundles: failed to load assembly MyOrg.Messaging.Client.dll
[monodroid-assembly] open_from_bundles: failed to load assembly MyOrg.MassNotification.Client.dll
[monodroid-assembly] open_from_bundles: failed to load assembly Microsoft.Azure.Core.Spatial.NewtonsoftJson.dll
[monodroid-assembly] open_from_bundles: failed to load assembly Splat.dll
Loaded assembly: /data/data/com.MyOrg.app.CoolApp/files/.__override__/Newtonsoft.Json.dll [External]
Loaded assembly: /data/data/com.MyOrg.app.CoolApp/files/.__override__/Microsoft.Maui.Controls.Xaml.dll [External]
Loaded assembly: /data/data/com.MyOrg.app.CoolApp/files/.__override__/MyOrg.Maui.dll [External]
Loaded assembly: /data/data/com.MyOrg.app.CoolApp/files/.__override__/CommunityToolkit.Maui.dll [External]
Loaded assembly: /data/data/com.MyOrg.app.CoolApp/files/.__override__/CommunityToolkit.Maui.Core.dll [External]
Loaded assembly: /data/data/com.MyOrg.app.CoolApp/files/.__override__/MyOrg.Maui.Globalization.dll [External]
Loaded assembly: /data/data/com.MyOrg.app.CoolApp/files/.__override__/MyOrg.Maui.Notifications.dll [External]
Loaded assembly: /data/data/com.MyOrg.app.CoolApp/files/.__override__/MyOrg.Maui.Logging.dll [External]
Loaded assembly: /data/data/com.MyOrg.app.CoolApp/files/.__override__/Microsoft.Extensions.Logging.Console.dll [External]
Loaded assembly: /data/data/com.MyOrg.app.CoolApp/files/.__override__/MyOrg.ApiClient.Abstractions.dll [External]
Loaded assembly: /data/data/com.MyOrg.app.CoolApp/files/.__override__/Microsoft.Extensions.Http.dll [External]
Loaded assembly: /data/data/com.MyOrg.app.CoolApp/files/.__override__/PureWeen.Maui.FixesAndWorkarounds.dll [External]
Loaded assembly: /data/data/com.MyOrg.app.CoolApp/files/.__override__/Microsoft.Maui.Controls.Maps.dll [External]
Loaded assembly: /data/data/com.MyOrg.app.CoolApp/files/.__override__/Microsoft.Extensions.Configuration.dll [External]
Loaded assembly: /data/data/com.MyOrg.app.CoolApp/files/.__override__/Microsoft.Extensions.Configuration.Abstractions.dll [External]
Loaded assembly: /data/data/com.MyOrg.app.CoolApp/files/.__override__/SkiaSharp.Views.Maui.Controls.Compatibility.dll [External]
Loaded assembly: /data/data/com.MyOrg.app.CoolApp/files/.__override__/MyOrg.Maui.FontAwesome.dll [External]
Loaded assembly: /data/data/com.MyOrg.app.CoolApp/files/.__override__/MyOrg.Maui.Controls.dll [External]
Loaded assembly: /data/data/com.MyOrg.app.CoolApp/files/.__override__/MyOrg.Maui.Security.dll [External]
Loaded assembly: /data/data/com.MyOrg.app.CoolApp/files/.__override__/MyOrg.Maui.Dialogs.dll [External]
Loaded assembly: /data/data/com.MyOrg.app.CoolApp/files/.__override__/MyOrg.Maui.Audio.dll [External]
Loaded assembly: /data/data/com.MyOrg.app.CoolApp/files/.__override__/MyOrg.Maui.Graphics.dll [External]
Loaded assembly: /data/data/com.MyOrg.app.CoolApp/files/.__override__/MyOrg.Maui.Polly.dll [External]
Loaded assembly: /data/data/com.MyOrg.app.CoolApp/files/.__override__/MyOrg.Maui.Authentication.dll [External]
Loaded assembly: /data/data/com.MyOrg.app.CoolApp/files/.__override__/MyOrg.Maui.Caching.dll [External]
Loaded assembly: /data/data/com.MyOrg.app.CoolApp/files/.__override__/MyOrg.Clock.dll [External]
Loaded assembly: /data/data/com.MyOrg.app.CoolApp/files/.__override__/Microsoft.Extensions.Primitives.dll [External]
Loaded assembly: /data/data/com.MyOrg.app.CoolApp/files/.__override__/Microsoft.Extensions.Options.ConfigurationExtensions.dll [External]
Loaded assembly: /data/data/com.MyOrg.app.CoolApp/files/.__override__/Microsoft.Extensions.Logging.Configuration.dll [External]
Loaded assembly: /data/data/com.MyOrg.app.CoolApp/files/.__override__/Microsoft.Extensions.Logging.dll [External]
Loaded assembly: /data/data/com.MyOrg.app.CoolApp/files/.__override__/AutoMapper.dll [External]
Loaded assembly: /data/data/com.MyOrg.app.CoolApp/files/.__override__/MyOrg.ApiClient.dll [External]
Loaded assembly: /data/data/com.MyOrg.app.CoolApp/files/.__override__/MyOrg.Security.Client.dll [External]
Loaded assembly: /data/data/com.MyOrg.app.CoolApp/files/.__override__/MyOrg.Licencing.Client.dll [External]
Loaded assembly: /data/data/com.MyOrg.app.CoolApp/files/.__override__/MyOrg.Devices.Client.dll [External]
Loaded assembly: /data/data/com.MyOrg.app.CoolApp/files/.__override__/MyOrg.Location.Client.dll [External]
Loaded assembly: /data/data/com.MyOrg.app.CoolApp/files/.__override__/MyOrg.GeoData.Client.dll [External]
Loaded assembly: /data/data/com.MyOrg.app.CoolApp/files/.__override__/MyOrg.Intelligence.Client.dll [External]
Loaded assembly: /data/data/com.MyOrg.app.CoolApp/files/.__override__/MyOrg.Alerts.Client.dll [External]
Loaded assembly: /data/data/com.MyOrg.app.CoolApp/files/.__override__/MyOrg.Assignments.Client.dll [External]
Loaded assembly: /data/data/com.MyOrg.app.CoolApp/files/.__override__/MyOrg.Checkins.Client.dll [External]
Loaded assembly: /data/data/com.MyOrg.app.CoolApp/files/.__override__/MyOrg.Messaging.Client.dll [External]
Loaded assembly: /data/data/com.MyOrg.app.CoolApp/files/.__override__/MyOrg.MassNotification.Client.dll [External]
Loaded assembly: /data/data/com.MyOrg.app.CoolApp/files/.__override__/Microsoft.Azure.Core.Spatial.NewtonsoftJson.dll [External]
Loaded assembly: /data/data/com.MyOrg.app.CoolApp/files/.__override__/Splat.dll [External]
[monodroid-assembly] open_from_bundles: failed to load assembly Xamarin.AndroidX.AppCompat.dll
[monodroid-assembly] open_from_bundles: failed to load assembly Xamarin.Google.Android.Material.dll
[monodroid-assembly] open_from_bundles: failed to load assembly Xamarin.AndroidX.SwipeRefreshLayout.dll
Loaded assembly: /data/data/com.MyOrg.app.CoolApp/files/.__override__/Xamarin.AndroidX.AppCompat.dll [External]
Loaded assembly: /data/data/com.MyOrg.app.CoolApp/files/.__override__/Xamarin.Google.Android.Material.dll [External]
Loaded assembly: /data/data/com.MyOrg.app.CoolApp/files/.__override__/Xamarin.AndroidX.SwipeRefreshLayout.dll [External]
[monodroid-assembly] open_from_bundles: failed to load assembly System.ComponentModel.TypeConverter.dll
Loaded assembly: /data/data/com.MyOrg.app.CoolApp/files/.__override__/System.ComponentModel.TypeConverter.dll [External]
[monodroid-assembly] open_from_bundles: failed to load assembly System.Private.Uri.dll
Loaded assembly: /data/data/com.MyOrg.app.CoolApp/files/.__override__/System.Private.Uri.dll [External]
[monodroid-assembly] open_from_bundles: failed to load assembly Xamarin.AndroidX.Fragment.dll
[monodroid-assembly] open_from_bundles: failed to load assembly Xamarin.AndroidX.Activity.dll
[monodroid-assembly] open_from_bundles: failed to load assembly Xamarin.AndroidX.Lifecycle.ViewModel.dll
[monodroid-assembly] open_from_bundles: failed to load assembly Xamarin.AndroidX.Lifecycle.Common.dll
[monodroid-assembly] open_from_bundles: failed to load assembly Xamarin.AndroidX.SavedState.dll
Loaded assembly: /data/data/com.MyOrg.app.CoolApp/files/.__override__/Xamarin.AndroidX.Fragment.dll [External]
Loaded assembly: /data/data/com.MyOrg.app.CoolApp/files/.__override__/Xamarin.AndroidX.Activity.dll [External]
Loaded assembly: /data/data/com.MyOrg.app.CoolApp/files/.__override__/Xamarin.AndroidX.Lifecycle.ViewModel.dll [External]
Loaded assembly: /data/data/com.MyOrg.app.CoolApp/files/.__override__/Xamarin.AndroidX.Lifecycle.Common.dll [External]
Loaded assembly: /data/data/com.MyOrg.app.CoolApp/files/.__override__/Xamarin.AndroidX.SavedState.dll [External]
[monodroid-assembly] open_from_bundles: failed to load assembly Xamarin.AndroidX.DrawerLayout.dll
[monodroid-assembly] open_from_bundles: failed to load assembly Xamarin.AndroidX.CustomView.dll
[monodroid-assembly] open_from_bundles: failed to load assembly Xamarin.AndroidX.Navigation.Runtime.dll
Loaded assembly: /data/data/com.MyOrg.app.CoolApp/files/.__override__/Xamarin.AndroidX.DrawerLayout.dll [External]
Loaded assembly: /data/data/com.MyOrg.app.CoolApp/files/.__override__/Xamarin.AndroidX.CustomView.dll [External]
Loaded assembly: /data/data/com.MyOrg.app.CoolApp/files/.__override__/Xamarin.AndroidX.Navigation.Runtime.dll [External]
[monodroid-assembly] open_from_bundles: failed to load assembly System.Net.Primitives.dll
Loaded assembly: /data/data/com.MyOrg.app.CoolApp/files/.__override__/System.Net.Primitives.dll [External]
[monodroid-assembly] open_from_bundles: failed to load assembly Sentry.Maui.dll
[monodroid-assembly] open_from_bundles: failed to load assembly Sentry.Extensions.Logging.dll
[monodroid-assembly] open_from_bundles: failed to load assembly Sentry.dll
Loaded assembly: /data/data/com.MyOrg.app.CoolApp/files/.__override__/Sentry.Maui.dll [External]
Loaded assembly: /data/data/com.MyOrg.app.CoolApp/files/.__override__/Sentry.Extensions.Logging.dll [External]
Loaded assembly: /data/data/com.MyOrg.app.CoolApp/files/.__override__/Sentry.dll [External]
[monodroid-assembly] open_from_bundles: failed to load assembly CommunityToolkit.Mvvm.dll
Loaded assembly: /data/data/com.MyOrg.app.CoolApp/files/.__override__/CommunityToolkit.Mvvm.dll [External]
[monodroid-assembly] open_from_bundles: failed to load assembly Microsoft.Extensions.Options.dll
Loaded assembly: /data/data/com.MyOrg.app.CoolApp/files/.__override__/Microsoft.Extensions.Options.dll [External]
[monodroid-assembly] open_from_bundles: failed to load assembly System.Text.RegularExpressions.dll
[monodroid-assembly] open_from_bundles: failed to load assembly System.IO.Compression.dll
[monodroid-assembly] open_from_bundles: failed to load assembly System.Net.Http.dll
[monodroid-assembly] open_from_bundles: failed to load assembly System.Reflection.Metadata.dll
Loaded assembly: /data/data/com.MyOrg.app.CoolApp/files/.__override__/System.Text.RegularExpressions.dll [External]
Loaded assembly: /data/data/com.MyOrg.app.CoolApp/files/.__override__/System.IO.Compression.dll [External]
Loaded assembly: /data/data/com.MyOrg.app.CoolApp/files/.__override__/System.Net.Http.dll [External]
Loaded assembly: /data/data/com.MyOrg.app.CoolApp/files/.__override__/System.Reflection.Metadata.dll [External]
[monodroid-assembly] open_from_bundles: failed to load assembly Microsoft.Extensions.Configuration.Json.dll
[monodroid-assembly] open_from_bundles: failed to load assembly MyOrg.Maui.Abstractions.dll
Loaded assembly: /data/data/com.MyOrg.app.CoolApp/files/.__override__/Microsoft.Extensions.Configuration.Json.dll [External]
Loaded assembly: /data/data/com.MyOrg.app.CoolApp/files/.__override__/MyOrg.Maui.Abstractions.dll [External]
[monodroid-assembly] open_from_bundles: failed to load assembly System.Text.Encoding.Extensions.dll
Loaded assembly: /data/data/com.MyOrg.app.CoolApp/files/.__override__/System.Text.Encoding.Extensions.dll [External]
[monodroid-assembly] open_from_bundles: failed to load assembly _Microsoft.Android.Resource.Designer.dll
[monodroid-assembly] open_from_bundles: failed to load assembly MyOrg.Maui.Mvvm.dll
[monodroid-assembly] open_from_bundles: failed to load assembly MyOrg.Messaging.Abstractions.dll
[monodroid-assembly] open_from_bundles: failed to load assembly MyOrg.Devices.Abstractions.dll
[monodroid-assembly] open_from_bundles: failed to load assembly MyOrg.Licencing.Abstractions.dll
[monodroid-assembly] open_from_bundles: failed to load assembly MyOrg.Checkins.Abstractions.dll
[monodroid-assembly] open_from_bundles: failed to load assembly MyOrg.Assignments.Abstractions.dll
[monodroid-assembly] open_from_bundles: failed to load assembly MyOrg.Maui.Authentication.Abstractions.dll
[monodroid-assembly] open_from_bundles: failed to load assembly Microsoft.AspNetCore.SignalR.Client.Core.dll
[monodroid-assembly] open_from_bundles: failed to load assembly MyOrg.Maui.Notifications.Abstractions.dll
[monodroid-assembly] open_from_bundles: failed to load assembly Xamarin.AndroidX.Work.Runtime.dll
[monodroid-assembly] open_from_bundles: failed to load assembly MyOrg.Maui.Flic2Button.Android.dll
[monodroid-assembly] open_from_bundles: failed to load assembly SkiaSharp.Views.Maui.Controls.dll
[monodroid-assembly] open_from_bundles: failed to load assembly SkiaSharp.Views.Maui.Core.dll
[monodroid-assembly] open_from_bundles: failed to load assembly Microsoft.Maui.Maps.dll
[monodroid-assembly] open_from_bundles: failed to load assembly Mopups.dll
[monodroid-assembly] open_from_bundles: failed to load assembly MyOrg.Alerts.Abstractions.dll
[monodroid-assembly] open_from_bundles: failed to load assembly Xamarin.GooglePlayServices.Maps.dll
Loaded assembly: /data/data/com.MyOrg.app.CoolApp/files/.__override__/_Microsoft.Android.Resource.Designer.dll [External]
Loaded assembly: /data/data/com.MyOrg.app.CoolApp/files/.__override__/MyOrg.Maui.Mvvm.dll [External]
Loaded assembly: /data/data/com.MyOrg.app.CoolApp/files/.__override__/MyOrg.Messaging.Abstractions.dll [External]
Loaded assembly: /data/data/com.MyOrg.app.CoolApp/files/.__override__/MyOrg.Devices.Abstractions.dll [External]
Loaded assembly: /data/data/com.MyOrg.app.CoolApp/files/.__override__/MyOrg.Licencing.Abstractions.dll [External]
Loaded assembly: /data/data/com.MyOrg.app.CoolApp/files/.__override__/MyOrg.Checkins.Abstractions.dll [External]
Loaded assembly: /data/data/com.MyOrg.app.CoolApp/files/.__override__/MyOrg.Assignments.Abstractions.dll [External]
Loaded assembly: /data/data/com.MyOrg.app.CoolApp/files/.__override__/MyOrg.Maui.Authentication.Abstractions.dll [External]
Loaded assembly: /data/data/com.MyOrg.app.CoolApp/files/.__override__/Microsoft.AspNetCore.SignalR.Client.Core.dll [External]
Loaded assembly: /data/data/com.MyOrg.app.CoolApp/files/.__override__/MyOrg.Maui.Notifications.Abstractions.dll [External]
Loaded assembly: /data/data/com.MyOrg.app.CoolApp/files/.__override__/Xamarin.AndroidX.Work.Runtime.dll [External]
Loaded assembly: /data/data/com.MyOrg.app.CoolApp/files/.__override__/MyOrg.Maui.Flic2Button.Android.dll [External]
Loaded assembly: /data/data/com.MyOrg.app.CoolApp/files/.__override__/SkiaSharp.Views.Maui.Controls.dll [External]
Loaded assembly: /data/data/com.MyOrg.app.CoolApp/files/.__override__/SkiaSharp.Views.Maui.Core.dll [External]
Loaded assembly: /data/data/com.MyOrg.app.CoolApp/files/.__override__/Microsoft.Maui.Maps.dll [External]
Loaded assembly: /data/data/com.MyOrg.app.CoolApp/files/.__override__/Mopups.dll [External]
Loaded assembly: /data/data/com.MyOrg.app.CoolApp/files/.__override__/MyOrg.Alerts.Abstractions.dll [External]
Loaded assembly: /data/data/com.MyOrg.app.CoolApp/files/.__override__/Xamarin.GooglePlayServices.Maps.dll [External]
[monodroid-assembly] open_from_bundles: failed to load assembly Xamarin.AndroidX.Loader.dll
Loaded assembly: /data/data/com.MyOrg.app.CoolApp/files/.__override__/Xamarin.AndroidX.Loader.dll [External]
[monodroid-assembly] open_from_bundles: failed to load assembly MyOrg.Maui.DependencyInjection.dll
Loaded assembly: /data/data/com.MyOrg.app.CoolApp/files/.__override__/MyOrg.Maui.DependencyInjection.dll [External]
[monodroid-assembly] open_from_bundles: failed to load assembly System.Xml.ReaderWriter.dll
[monodroid-assembly] open_from_bundles: failed to load assembly System.Private.Xml.dll
Loaded assembly: /data/data/com.MyOrg.app.CoolApp/files/.__override__/System.Xml.ReaderWriter.dll [External]
Loaded assembly: /data/data/com.MyOrg.app.CoolApp/files/.__override__/System.Private.Xml.dll [External]
[monodroid-assembly] open_from_bundles: failed to load assembly MyOrg.Maui.Audio.Abstractions.dll
Loaded assembly: /data/data/com.MyOrg.app.CoolApp/files/.__override__/MyOrg.Maui.Audio.Abstractions.dll [External]
[monodroid-assembly] open_from_bundles: failed to load assembly MyOrg.Maui.Graphics.Abstractions.dll
Loaded assembly: /data/data/com.MyOrg.app.CoolApp/files/.__override__/MyOrg.Maui.Graphics.Abstractions.dll [External]
[monodroid-assembly] open_from_bundles: failed to load assembly Microsoft.Extensions.Configuration.Binder.dll
Loaded assembly: /data/data/com.MyOrg.app.CoolApp/files/.__override__/Microsoft.Extensions.Configuration.Binder.dll [External]
[monodroid-assembly] open_from_bundles: failed to load assembly Microsoft.Extensions.Caching.Memory.dll
[monodroid-assembly] open_from_bundles: failed to load assembly Microsoft.Extensions.Caching.Abstractions.dll
[monodroid-assembly] open_from_bundles: failed to load assembly Polly.Caching.Memory.dll
[monodroid-assembly] open_from_bundles: failed to load assembly Polly.dll
Loaded assembly: /data/data/com.MyOrg.app.CoolApp/files/.__override__/Microsoft.Extensions.Caching.Memory.dll [External]
Loaded assembly: /data/data/com.MyOrg.app.CoolApp/files/.__override__/Microsoft.Extensions.Caching.Abstractions.dll [External]
Loaded assembly: /data/data/com.MyOrg.app.CoolApp/files/.__override__/Polly.Caching.Memory.dll [External]
Loaded assembly: /data/data/com.MyOrg.app.CoolApp/files/.__override__/Polly.dll [External]
[monodroid-assembly] open_from_bundles: failed to load assembly Akavache.dll
[monodroid-assembly] open_from_bundles: failed to load assembly Akavache.Core.dll
[monodroid-assembly] open_from_bundles: failed to load assembly System.Reactive.dll
[monodroid-assembly] open_from_bundles: failed to load assembly MyOrg.Maui.Caching.Abstractions.dll
Loaded assembly: /data/data/com.MyOrg.app.CoolApp/files/.__override__/Akavache.dll [External]
Loaded assembly: /data/data/com.MyOrg.app.CoolApp/files/.__override__/Akavache.Core.dll [External]
Loaded assembly: /data/data/com.MyOrg.app.CoolApp/files/.__override__/System.Reactive.dll [External]
Loaded assembly: /data/data/com.MyOrg.app.CoolApp/files/.__override__/MyOrg.Maui.Caching.Abstractions.dll [External]
[monodroid-assembly] open_from_bundles: failed to load assembly SQLitePCLRaw.batteries_v2.dll
[monodroid-assembly] open_from_bundles: failed to load assembly Akavache.Sqlite3.dll
Loaded assembly: /data/data/com.MyOrg.app.CoolApp/files/.__override__/SQLitePCLRaw.batteries_v2.dll [External]
Loaded assembly: /data/data/com.MyOrg.app.CoolApp/files/.__override__/Akavache.Sqlite3.dll [External]
[monodroid-assembly] open_from_bundles: failed to load assembly SQLitePCLRaw.provider.e_sqlite3.dll
[monodroid-assembly] open_from_bundles: failed to load assembly SQLitePCLRaw.core.dll
Loaded assembly: /data/data/com.MyOrg.app.CoolApp/files/.__override__/SQLitePCLRaw.provider.e_sqlite3.dll [External]
Loaded assembly: /data/data/com.MyOrg.app.CoolApp/files/.__override__/SQLitePCLRaw.core.dll [External]
[monodroid-assembly] open_from_bundles: failed to load assembly System.Runtime.InteropServices.RuntimeInformation.dll
Loaded assembly: /data/data/com.MyOrg.app.CoolApp/files/.__override__/System.Runtime.InteropServices.RuntimeInformation.dll [External]
[monodroid-assembly] open_from_bundles: failed to load assembly Akavache.Mac.dll
[monodroid-assembly] open_from_bundles: failed to load assembly Akavache.Mac.dll
[monodroid-assembly] open_from_bundles: failed to load assembly Akavache.Deprecated.dll
[monodroid-assembly] open_from_bundles: failed to load assembly Akavache.Deprecated.dll
[monodroid-assembly] open_from_bundles: failed to load assembly Akavache.Mobile.dll
[monodroid-assembly] open_from_bundles: failed to load assembly Akavache.Mobile.dll
[monodroid-assembly] open_from_bundles: failed to load assembly Akavache.Drawing.dll
[monodroid-assembly] open_from_bundles: failed to load assembly Akavache.Drawing.dll
Thread started: .NET Timer #2
[0:] LogHost: Initializing Akavache (EnsureInitialized)
Thread started: <Thread Pool> #3
Thread started: .NET TP Gate #4
Thread started: <Thread Pool> #5
[0:] LogHost: Initializing Akavache (EnsureInitialized)
Thread started: <Thread Pool> #6
[monodroid-assembly] open_from_bundles: failed to load assembly en-GB/MyOrg.App.Tracking.resources.dll
[monodroid-assembly] open_from_bundles: failed to load assembly en-GB/MyOrg.App.Tracking.resources.dll
[monodroid-assembly] open_from_bundles: failed to load assembly en/MyOrg.App.Tracking.resources.dll
[monodroid-assembly] open_from_bundles: failed to load assembly en/MyOrg.App.Tracking.resources.dll
[monodroid-assembly] open_from_bundles: failed to load assembly en-GB/MyOrg.App.Tracking.resources.dll
[monodroid-assembly] open_from_bundles: failed to load assembly en-GB/MyOrg.App.Tracking.resources.dll
[monodroid-assembly] open_from_bundles: failed to load assembly en/MyOrg.App.Tracking.resources.dll
[monodroid-assembly] open_from_bundles: failed to load assembly en/MyOrg.App.Tracking.resources.dll
[monodroid-assembly] open_from_bundles: failed to load assembly SQLite-net.dll
Loaded assembly: /data/data/com.MyOrg.app.CoolApp/files/.__override__/SQLite-net.dll [External]
[monodroid-assembly] open_from_bundles: failed to load assembly System.ComponentModel.Primitives.dll
Loaded assembly: /data/data/com.MyOrg.app.CoolApp/files/.__override__/System.ComponentModel.Primitives.dll [External]
[monodroid-assembly] open_from_bundles: failed to load assembly LiveChartsCore.dll
Loaded assembly: /data/data/com.MyOrg.app.CoolApp/files/.__override__/LiveChartsCore.dll [External]
[monodroid-assembly] open_from_bundles: failed to load assembly MyOrg.Geometry.dll
Loaded assembly: /data/data/com.MyOrg.app.CoolApp/files/.__override__/MyOrg.Geometry.dll [External]
[monodroid-assembly] open_from_bundles: failed to load assembly MyOrg.MassNotification.Abstractions.dll
Loaded assembly: /data/data/com.MyOrg.app.CoolApp/files/.__override__/MyOrg.MassNotification.Abstractions.dll [External]
[monodroid-assembly] open_from_bundles: failed to load assembly System.Linq.Expressions.dll
Loaded assembly: /data/data/com.MyOrg.app.CoolApp/files/.__override__/System.Linq.Expressions.dll [External]
[monodroid-assembly] open_from_bundles: failed to load assembly Microsoft.OData.Client.dll
[monodroid-assembly] open_from_bundles: failed to load assembly MyOrg.ApiClient.OData.dll
Loaded assembly: /data/data/com.MyOrg.app.CoolApp/files/.__override__/Microsoft.OData.Client.dll [External]
Loaded assembly: /data/data/com.MyOrg.app.CoolApp/files/.__override__/MyOrg.ApiClient.OData.dll [External]
[monodroid-assembly] open_from_bundles: failed to load assembly MyOrg.Cryptography.dll
Loaded assembly: /data/data/com.MyOrg.app.CoolApp/files/.__override__/MyOrg.Cryptography.dll [External]
[monodroid-assembly] open_from_bundles: failed to load assembly System.Security.Cryptography.dll
Loaded assembly: /data/data/com.MyOrg.app.CoolApp/files/.__override__/System.Security.Cryptography.dll [External]
[monodroid-assembly] open_from_bundles: failed to load assembly Microsoft.Extensions.Diagnostics.dll
Loaded assembly: /data/data/com.MyOrg.app.CoolApp/files/.__override__/Microsoft.Extensions.Diagnostics.dll [External]
[monodroid-assembly] open_from_bundles: failed to load assembly System.Diagnostics.DiagnosticSource.dll
Loaded assembly: /data/data/com.MyOrg.app.CoolApp/files/.__override__/System.Diagnostics.DiagnosticSource.dll [External]
[monodroid-assembly] open_from_bundles: failed to load assembly Microsoft.Extensions.Diagnostics.Abstractions.dll
Loaded assembly: /data/data/com.MyOrg.app.CoolApp/files/.__override__/Microsoft.Extensions.Diagnostics.Abstractions.dll [External]
[libc] Requested dump for pid 29538 (smo.app.Locator)
[monodroid-assembly] open_from_bundles: failed to load assembly Microsoft.Extensions.Http.Polly.dll
Loaded assembly: /data/data/com.MyOrg.app.CoolApp/files/.__override__/Microsoft.Extensions.Http.Polly.dll [External]
The connection with the debugger has been lost. The target application may have exited.
Mono.Debugger.Soft.VMDisconnectedException: Exception of type 'Mono.Debugger.Soft.VMDisconnectedException' was thrown.
   at Mono.Debugger.Soft.Connection.disconnected_check() in D:\a\_work\1\s\External\debugger-libs\Mono.Debugger.Soft\Mono.Debugger.Soft\Connection.cs:line 1573
   at Mono.Debugger.Soft.Connection.SendReceive(CommandSet command_set, Int32 command, PacketWriter packet) in D:\a\_work\1\s\External\debugger-libs\Mono.Debugger.Soft\Mono.Debugger.Soft\Connection.cs:line 1867
   at Mono.Debugger.Soft.VirtualMachine.Resume() in D:\a\_work\1\s\External\debugger-libs\Mono.Debugger.Soft\Mono.Debugger.Soft\VirtualMachine.cs:line 139
   at Mono.Debugging.Soft.SoftDebuggerSession.HandleEventSet(EventSet es) in D:\a\_work\1\s\External\debugger-libs\Mono.Debugging.Soft\SoftDebuggerSession.cs:line 1900
   at Mono.Debugging.Soft.SoftDebuggerSession.EventHandler() in D:\a\_work\1\s\External\debugger-libs\Mono.Debugging.Soft\SoftDebuggerSession.cs:line 1801
RobTF commented

Eventually, after my walk I've run the app again and again, eventually it just gets far enough to trigger the Android "Wait or Kill" dialog for slow apps. Tapping wait allowed it to run, but this comes up maybe one in 10-15 attempts and you have to catch it quick.

I believe at this stage my employer is considering adding MAUI related mental health cover for the developers!!

@RobTF so is the problem that the app takes a long time to launch? Are you doing work on the main, UI thread?

I would consider recording a .speedscope to see what is taking so much time on the UI thread:

It could be your code, but it could also be something else like MAUI or the BCL.

There are 177 [monodroid-assembly] Assembly load messages. @grendello should we actually consider hiding these monodroid-assembly messages when debugging?

@jonathanpeppers they are log_warn, because the assumption is that usually we load assemblies just fine, so it usually isn't a problem. However what's interesting here is that we first log the message and then load the assembly from the override dir, it might be just a case of changing the order of locations we check when debugging. I'll take a look at it this week.

Mono invokes assembly preload hooks in reverse registration order:

/*
* Assembly preload hooks are invoked in _reverse_ registration order.
* Looking for assemblies from the update dir takes precedence over
* everything else, and thus must go LAST.
*/
embeddedAssemblies.install_preload_hooks_for_appdomains ();
#ifndef RELEASE
mono_install_assembly_preload_hook (open_from_update_dir, nullptr);
#endif

so the "load from override dir" hook should be invoked first, and thus we shouldn't see any of the load failure warnings

I don't think the messages themselves cause the ANR, though, it must be something else. Either, as @jonathanpeppers suggested, too much work being done on the main thread (and assembly loading itself wouldn't take that much time, unless there's a very, VERY, big image to load and individual assemblies load in well under a millisecond on a midrange device) or there's a deadlock somewhere which causes the connection to time out.

@RobTF if you don't use Hot Reload, can you try setting the AndroidUseInterpreter MSBuild property to false and see if that improves your performance? Debug builds use the interpreter by default, and interpreter is slow.