Open adamzucchi opened 3 months ago
@adamzucchi Is this a MAUI application?
Yup.
Hi @adamzucchi, does it happen with a specific MAUI app or with any app? If it's with a specific app, is there any chance that you can privately share it with us? Thanks
Unfortunately I am unable to share the project. I have however continued to test and have discovered the following:
So I guess a couple of remaining questions,
Thanks!
Thanks @adamzucchi. The advantage of using pre-release is that you will get updates, fixes and improvements more frequently (it depends on the extension though). If you noticed that a pre-release broke your experience, it would be good to know which extension, so we can take a look and fix it. If you can share the content of the .NET MAUI output pane, the debug console and the build output, we can try to see if there's any hint about your issue. That said, you are not forced to use pre-release.
Regarding Xcode, 15.3 is still not fully supported by the iOS SDK, so we recommend to stick with 15.2 and iOS 17.2 simulators until the iOS SDK finishes the work to be fully compatible.
Thanks
The needs-more-info
label has been removed since the original bug filer has responded since the label was originally set.
Hi @adamzucchi, could you please confirm if by updating to latest pre-release versions and also using iOS simulators 17.2 (not 17.4), you can get your issues solved? We are not able to reproduce it, so we would like to confirm if it's working now.
Also, we've introduced a new debugger for MAUI apps when using .NET SDK 8.0.200 or higher, so if you update to latest .NET MAUI pre-release and also to at least .NET 8.0.200, you can see if the debugger experience, as well as your issues, are fixed.
I wait for your confirmation. Thanks for your help.
I would say close this ticket and if I have any issues I will open a new ticket.
The issue I originally had was with the pre-release packages however on my comment from 3 weeks ago (March 25th) I noted that I was able to get things working with the stable packages : )
@mauroa, the 'needs-more-info' label has been removed upon receiving further response from the original bug filer.
I was facing a similar issue, turning off experimental debugging for MAUI extension helped me to workaround it.
@yehorhromadskyi can you let us know more about your issue? also, can you update to latest C# pre-release and latest .NET MAUI pre-release? We've made several improvements and fixes around the new debugger engine, so you might want to try and confirm if you still have problems.
In that case, please let us know the repro steps so we can help you. Thanks
I was facing a similar issue, turning off experimental debugging for MAUI extension helped me to workaround it.
Just wanted to say Thank you for that tip! Was trying to debug our app and never progressed beyond the splash screen with the debug console being filled with tons of cryptic exceptions. After finally searching for "splash screen" I discovered this bug and the workaround. A long time of trial & error for the bin...
So yeah, this workaround is still needed for v0.12.24 And for all the bashing VS Studio for Mac (rightfully) got, the development-experience for MAUI with this extension is still behind it...
Just tested again, but disabling VSDbg is still required for our app with version v0.12.42 of the extension. I cannot share our project for reproduction, but if you can direct me to any useful log output I will gladly share it.
In the meantime:
Please talk to us. I've just seen the Maui Community standup on YouTube where the new debugger is praised in spades, but the first thing we see when testing it is crashes... I can't even begin to describe how cheated I feel :/
Type: Bug
On iOS (both physical device (12 Pro Max) and simulator) and on a physical Android device (Pixel 4) when choosing 'Run and Debug' the app gets deployed to the device and shortly after the app being deployed and on the app startup splash screen the debugger disconnects.
Extension version: 0.10.30 VS Code version: Code 1.87.2 (Universal) (863d2581ecda6849923a2118d93a088b0745d9d6, 2024-03-08T15:21:31.043Z) OS version: Darwin arm64 23.4.0 Modes:
System Info
|Item|Value| |---|---| |CPUs|Apple M2 Max (12 x 24)| |GPU Status|2d_canvas: enabledcanvas_oop_rasterization: enabled_on
direct_rendering_display_compositor: disabled_off_ok
gpu_compositing: enabled
multiple_raster_threads: enabled_on
opengl: enabled_on
rasterization: enabled
raw_draw: disabled_off_ok
skia_graphite: disabled_off
video_decode: enabled
video_encode: enabled
webgl: enabled
webgl2: enabled
webgpu: enabled| |Load (avg)|5, 4, 3| |Memory (System)|96.00GB (19.91GB free)| |Process Argv|--crash-reporter-id ab3ac852-8e57-4332-9a4a-aaca0c7c0581| |Screen Reader|no| |VM|0%|
A/B Experiments
``` vsliv368cf:30146710 vspor879:30202332 vspor708:30202333 vspor363:30204092 vscoreces:30445986 vscod805:30301674 binariesv615:30325510 vsaa593cf:30376535 py29gd2263:30899288 c4g48928:30535728 azure-dev_surveyonecf:30548226 a9j8j154:30646983 962ge761:30959799 pythongtdpath:30769146 welcomedialogc:30910334 pythonidxpt:30866567 pythonnoceb:30805159 asynctok:30898717 pythontestfixt:30902429 pythonregdiag2:30936856 pyreplss1:30897532 pythonmypyd1:30879173 pythoncet0:30885854 h48ei257:30992801 pythontbext0:30879054 accentitlementsc:30995553 dsvsc016:30899300 dsvsc017:30899301 dsvsc018:30899302 cppperfnew:30979542 d34g3935:30971562 fegfb526:30981948 bg6jg535:30979843 ccp2r3:30993541 dsvsc020:30976470 gee8j676:30988843 ```