Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Debugger doesn't work on device #21387

Open
corne-ac opened this issue Oct 8, 2024 · 11 comments
Open

Debugger doesn't work on device #21387

corne-ac opened this issue Oct 8, 2024 · 11 comments
Labels
need-info Waiting for more information before the bug can be investigated
Milestone

Comments

@corne-ac
Copy link

corne-ac commented Oct 8, 2024

Apple platform

iOS

Framework version

net8.0-*

Affected platform version

VS Code Latest, Jetbrains Rider 2024.2.5

Description

After the recent issues with the new MacOS update, this issue arose, but I think it is related to something else. I am trying to debug my .Net 8 MAUI projects.

When building any project on my device, a big wall of errors related to mlaunch extensions gets printed. When these errors get thrown in Jetbrains Rider, it causes the Debugger to not function. the app launches on the device, and the debugger states its connected, but nothing gets printed or any breakpoints hit. This also results in some changes in the code not getting applied after each run.

In VS Code, I get the exact same wall of errors, but the debugger seems to work on VS Code's side, which is quite odd. When running on VS Code, it is quite a hit or miss though, as the debugger will not always attach or the program will simply crash due to these errors. Its very inconcistent.

A few things worth mentioning, I installed XCode with the download on the apple developer page, not through the app store, I am using the IOS 18 Simulators, and also tried on 17.5. On android, the project builds just fine and with the debugger.
I installed the latest workloads as stated in the META Issue thread.
I have tried reinstalling dotnet and xcode.
Tried debugging on a physical device mostly.
I have also tried this https://youtrack.jetbrains.com/issue/RIDER-117599/Could-not-load-the-framework-IDEDistribution-on-MacOS-15.0#focus=Comments-27-10817458.0-0
Already have the workaround for the strip error in my project.
This happens to any new project on my device and existing projects.

Some versions:
[maui-ios]
Installation Source: SDK 8.0.400
Manifest Version: 8.0.82/8.0.100

[ios]

Installation Source: SDK 8.0.400
Manifest Version: 18.0.8303/8.0.100

.NET SDK:
Version: 8.0.402
Workload version: 8.0.402.1

The errors I receive are as follows, its quite a lot:

2024-10-08 08:53:21.685 mlaunch[5605:84722] Requested but did not find extension point with identifier Xcode.IDEDebugger.VariablesViewQuickLookProvider for extension Xcode.IDEDebugger.SpriteKitQuickLookProvider of plug-in com.apple.IDESpriteKitParticleEditor
2024-10-08 08:53:21.686 mlaunch[5605:84722] Requested but did not find extension point with identifier Xcode.IDEDebugger.VariablesViewQuickLookProvider for extension Xcode.SpriteKit.GKStateMachineQuickLookProvider of plug-in com.apple.IDESpriteKitParticleEditor
2024-10-08 08:53:21.702 mlaunch[5605:84722] Requested but did not find extension point with identifier Xcode.IDEPlaygroundsKit.PlaygroundBottomBarExecutionAdaptor for extension Xcode.IDEPlaygroundEditor.IDEPlaygroundBottomBarExecutionAdaptor of plug-in com.apple.dt.IDEPlaygroundEditorPlugin
2024-10-08 08:53:21.703 mlaunch[5605:84722] Requested but did not find extension point with identifier Xcode.Xcode3ProjectSupport.InfoEditorSlice for extension Xcode.Xcode3ProjectSupport.InfoEditorSlice.WatchOS.BundleInfo of plug-in com.apple.dt.IDEWatchSupportUI
2024-10-08 08:53:21.703 mlaunch[5605:84722] Requested but did not find extension point with identifier Xcode.Xcode3UI.Xcode3SupportedDestinations for extension IDEWatchSupportUI:IDEWatchSupportUI.plugindata/plug-in[1]/extension[11] of plug-in com.apple.dt.IDEWatchSupportUI
2024-10-08 08:53:21.703 mlaunch[5605:84722] Requested but did not find extension point with identifier Xcode.DebuggerFoundation.ViewDescriber for extension Xcode.DebuggerFoundation.watchOS.ViewDescriber of plug-in com.apple.dt.IDEWatchSupportUI
2024-10-08 08:53:21.703 mlaunch[5605:84722] Requested but did not find extension point with identifier Xcode.DebuggerFoundation.ViewDescriber for extension Xcode.DebuggerFoundation.watchOSSimulator.ViewDescriber of plug-in com.apple.dt.IDEWatchSupportUI
2024-10-08 08:53:21.704 mlaunch[5605:84722] Requested but did not find extension point with identifier Xcode.Xcode3ProjectSupport.InfoEditorType for extension Xcode.Xcode3ProjectSupport.InfoEditorType.WatchOS.Bundle of plug-in com.apple.dt.IDEWatchSupportUI
2024-10-08 08:53:21.704 mlaunch[5605:84722] Requested but did not find extension point with identifier Xcode.DebuggerFoundation.DataSourceConnection for extension Xcode.DebuggerFoundation.watchOSSimulator.DataSourceConnectionTargetHub of plug-in com.apple.dt.IDEWatchSupportUI
2024-10-08 08:53:21.704 mlaunch[5605:84722] Requested but did not find extension point with identifier Xcode.DebuggerFoundation.DataSourceConnection for extension Xcode.DebuggerFoundation.watchOS.DataSourceConnectionTargetHub of plug-in com.apple.dt.IDEWatchSupportUI
2024-10-08 08:53:21.704 mlaunch[5605:84722] Requested but did not find extension point with identifier Xcode.IDEiOSSupportCore.iOSDeviceLocatorMapping for extension Xcode.IDEiOSSupportCore.iOSDeviceLocatorMapping.driverkit of plug-in com.apple.dt.IDEDriverKitSupportCore
2024-10-08 08:53:21.704 mlaunch[5605:84722] Requested but did not find extension point with identifier Xcode.Xcode3UI.Xcode3SupportedDestinations for extension IDEDriverKitSupportUI:IDEDriverKitSupportUI.plugindata/plug-in[1]/extension[2] of plug-in com.apple.dt.IDEDriverKitSupportUI
2024-10-08 08:53:21.705 mlaunch[5605:84722] Requested but did not find extension point with identifier Xcode.Xcode3UI.Xcode3SupportedDestinations for extension IDEOSXSupportUI:IDEOSXSupportUI.plugindata/plug-in[1]/extension[5] of plug-in com.apple.dt.IDEOSXSupportUI
2024-10-08 08:53:21.706 mlaunch[5605:84722] Requested but did not find extension point with identifier Xcode.Xcode3ProjectSupport.InfoEditorType for extension Xcode.Xcode3ProjectSupport.InfoEditorType.Reality.Framework of plug-in com.apple.dt.IDEVisionSupportUI
2024-10-08 08:53:21.706 mlaunch[5605:84722] Requested but did not find extension point with identifier Xcode.Xcode3ProjectSupport.InfoEditorType for extension Xcode.Xcode3ProjectSupport.InfoEditorType.Reality.Application of plug-in com.apple.dt.IDEVisionSupportUI
2024-10-08 08:53:21.706 mlaunch[5605:84722] Requested but did not find extension point with identifier Xcode.Xcode3ProjectSupport.InfoEditorType for extension Xcode.Xcode3ProjectSupport.InfoEditorType.Reality.Bundle of plug-in com.apple.dt.IDEVisionSupportUI
2024-10-08 08:53:21.706 mlaunch[5605:84722] Requested but did not find extension point with identifier Xcode.Xcode3UI.Xcode3SupportedDestinations for extension IDEVisionSupportUI:IDEVisionSupportUI.plugindata/plug-in[1]/extension[5] of plug-in com.apple.dt.IDEVisionSupportUI
2024-10-08 08:53:21.706 mlaunch[5605:84722] Requested but did not find extension point with identifier Xcode.DebuggerFoundation.DataSourceConnection for extension Xcode.DebuggerFoundation.tvOSSimulator.DataSourceConnectionTargetHub of plug-in com.apple.dt.IDEAppleTVSupportUI
2024-10-08 08:53:21.706 mlaunch[5605:84722] Requested but did not find extension point with identifier Xcode.Xcode3UI.Xcode3SupportedDestinations for extension IDEAppleTVSupportUI:IDEAppleTVSupportUI.plugindata/plug-in[1]/extension[11] of plug-in com.apple.dt.IDEAppleTVSupportUI
2024-10-08 08:53:21.706 mlaunch[5605:84722] Requested but did not find extension point with identifier Xcode.DebuggerFoundation.DeviceIconProvider for extension Xcode.DebuggerFoundation.DeviceIconProvider.AppleTV of plug-in com.apple.dt.IDEAppleTVSupportUI
2024-10-08 08:53:21.706 mlaunch[5605:84722] Requested but did not find extension point with identifier Xcode.DebuggerFoundation.ViewDescriber for extension Xcode.DebuggerFoundation.ATVSimulator.ViewDescriber of plug-in com.apple.dt.IDEAppleTVSupportUI
2024-10-08 08:53:21.707 mlaunch[5605:84722] Requested but did not find extension point with identifier Xcode.Xcode3ProjectSupport.InfoEditorType for extension Xcode.Xcode3ProjectSupport.InfoEditorType.appletvos.Bundle of plug-in com.apple.dt.IDEAppleTVSupportUI
2024-10-08 08:53:21.707 mlaunch[5605:84722] Requested but did not find extension point with identifier Xcode.DebuggerFoundation.ViewDescriber for extension Xcode.DebuggerFoundation.ATV.ViewDescriber of plug-in com.apple.dt.IDEAppleTVSupportUI
2024-10-08 08:53:21.707 mlaunch[5605:84722] Requested but did not find extension point with identifier Xcode.DebuggerFoundation.DataSourceConnection for extension Xcode.DebuggerFoundation.tvOS.DataSourceConnectionTargetHub of plug-in com.apple.dt.IDEAppleTVSupportUI
2024-10-08 08:53:21.707 mlaunch[5605:84722] Requested but did not find extension point with identifier Xcode.Xcode3ProjectSupport.InfoEditorSlice for extension Xcode.Xcode3ProjectSupport.InfoEditorSlice.appletvos.BundleTargetInfo of plug-in com.apple.dt.IDEAppleTVSupportUI
W

Steps to Reproduce

  1. New project
  2. Build on IOS physical device.
  3. Build succeeds, but mlaunch errors appear
  4. app launches on device (sometimes) but debugger is not showing any output

Did you find any workaround?

Workaround for using a debugger is to use VS Code, which sometimes works and othertimes does the same as jetbrains.

Build logs

No response

@rolfbjarne
Copy link
Member

All the "Requested but did not find extension point with identifier" lines are warnings, not errors. It's likely the actual errors are further down, buried in other output: can you attach the complete output as a file?

@rolfbjarne rolfbjarne added the need-info Waiting for more information before the bug can be investigated label Oct 8, 2024
@rolfbjarne rolfbjarne added this to the Future milestone Oct 8, 2024
@MoienTajik
Copy link

Same here. Here's complete trace, it happens on empty new project on .NET 9 RC2 @rolfbjarne :

  • xcode 16.1 Beta 3 & xcode 16.0
  • iOS 17 & 18
/usr/local/share/dotnet/packs/Microsoft.iOS.Sdk.net9.0_18.0/18.0.9600-net9-rc2/tools/bin/mlaunch --devname "Moien's iPhone" --killdev ai.MyApplication --launchdev /Users/moientajik/Personal/MyApplication/src/frontend/MyApplication.Client.Mobile/bin/Debug/net9.0-ios/ios-arm64/MyApplication.Client.Mobile.app --wait-for-unlock --argument=-connection-mode --argument=wifi -sdk 15.0 --argument=-monodevelop-port --argument=10001 --setenv=__XAMARIN_DEBUG_PORT__=10001 --sdkroot /Applications/Xcode-16.1.0-Beta.3.app/Contents/Developer
2024-10-09 00:08:29.274 mlaunch[54110:4247040] Requested but did not find extension point with identifier Xcode.IDEDebugger.VariablesViewQuickLookProvider for extension Xcode.SpriteKit.GKStateMachineQuickLookProvider of plug-in com.apple.IDESpriteKitParticleEditor
2024-10-09 00:08:29.275 mlaunch[54110:4247040] Requested but did not find extension point with identifier Xcode.IDEDebugger.VariablesViewQuickLookProvider for extension Xcode.IDEDebugger.SpriteKitQuickLookProvider of plug-in com.apple.IDESpriteKitParticleEditor
2024-10-09 00:08:29.280 mlaunch[54110:4247040] Requested but did not find extension point with identifier Xcode.IDEPlaygroundsKit.PlaygroundBottomBarExecutionAdaptor for extension Xcode.IDEPlaygroundEditor.IDEPlaygroundBottomBarExecutionAdaptor of plug-in com.apple.dt.IDEPlaygroundEditorPlugin
2024-10-09 00:08:29.281 mlaunch[54110:4247040] Requested but did not find extension point with identifier Xcode.DebuggerFoundation.DataSourceConnection for extension Xcode.DebuggerFoundation.watchOS.DataSourceConnectionTargetHub of plug-in com.apple.dt.IDEWatchSupportUI
2024-10-09 00:08:29.281 mlaunch[54110:4247040] Requested but did not find extension point with identifier Xcode.Xcode3ProjectSupport.InfoEditorSlice for extension Xcode.Xcode3ProjectSupport.InfoEditorSlice.WatchOS.BundleInfo of plug-in com.apple.dt.IDEWatchSupportUI
2024-10-09 00:08:29.281 mlaunch[54110:4247040] Requested but did not find extension point with identifier Xcode.Xcode3UI.Xcode3SupportedDestinations for extension IDEWatchSupportUI:IDEWatchSupportUI.plugindata/plug-in[1]/extension[11] of plug-in com.apple.dt.IDEWatchSupportUI
2024-10-09 00:08:29.281 mlaunch[54110:4247040] Requested but did not find extension point with identifier Xcode.DebuggerFoundation.ViewDescriber for extension Xcode.DebuggerFoundation.watchOS.ViewDescriber of plug-in com.apple.dt.IDEWatchSupportUI
2024-10-09 00:08:29.281 mlaunch[54110:4247040] Requested but did not find extension point with identifier Xcode.DebuggerFoundation.ViewDescriber for extension Xcode.DebuggerFoundation.watchOSSimulator.ViewDescriber of plug-in com.apple.dt.IDEWatchSupportUI
2024-10-09 00:08:29.281 mlaunch[54110:4247040] Requested but did not find extension point with identifier Xcode.Xcode3ProjectSupport.InfoEditorType for extension Xcode.Xcode3ProjectSupport.InfoEditorType.WatchOS.Bundle of plug-in com.apple.dt.IDEWatchSupportUI
2024-10-09 00:08:29.281 mlaunch[54110:4247040] Requested but did not find extension point with identifier Xcode.DebuggerFoundation.DataSourceConnection for extension Xcode.DebuggerFoundation.watchOSSimulator.DataSourceConnectionTargetHub of plug-in com.apple.dt.IDEWatchSupportUI
2024-10-09 00:08:29.281 mlaunch[54110:4247040] Requested but did not find extension point with identifier Xcode.IDEiOSSupportCore.iOSDeviceLocatorMapping for extension Xcode.IDEiOSSupportCore.iOSDeviceLocatorMapping.driverkit of plug-in com.apple.dt.IDEDriverKitSupportCore
2024-10-09 00:08:29.281 mlaunch[54110:4247040] Requested but did not find extension point with identifier Xcode.Xcode3UI.Xcode3SupportedDestinations for extension IDEDriverKitSupportUI:IDEDriverKitSupportUI.plugindata/plug-in[1]/extension[2] of plug-in com.apple.dt.IDEDriverKitSupportUI
2024-10-09 00:08:29.281 mlaunch[54110:4247040] Requested but did not find extension point with identifier Xcode.Xcode3UI.Xcode3SupportedDestinations for extension IDEOSXSupportUI:IDEOSXSupportUI.plugindata/plug-in[1]/extension[5] of plug-in com.apple.dt.IDEOSXSupportUI
2024-10-09 00:08:29.282 mlaunch[54110:4247040] Requested but did not find extension point with identifier Xcode.Xcode3UI.Xcode3SupportedDestinations for extension IDEVisionSupportUI:IDEVisionSupportUI.plugindata/plug-in[1]/extension[5] of plug-in com.apple.dt.IDEVisionSupportUI
2024-10-09 00:08:29.282 mlaunch[54110:4247040] Requested but did not find extension point with identifier Xcode.Xcode3ProjectSupport.InfoEditorType for extension Xcode.Xcode3ProjectSupport.InfoEditorType.Reality.Bundle of plug-in com.apple.dt.IDEVisionSupportUI
2024-10-09 00:08:29.282 mlaunch[54110:4247040] Requested but did not find extension point with identifier Xcode.Xcode3ProjectSupport.InfoEditorType for extension Xcode.Xcode3ProjectSupport.InfoEditorType.Reality.Framework of plug-in com.apple.dt.IDEVisionSupportUI
2024-10-09 00:08:29.282 mlaunch[54110:4247040] Requested but did not find extension point with identifier Xcode.Xcode3ProjectSupport.InfoEditorType for extension Xcode.Xcode3ProjectSupport.InfoEditorType.Reality.Application of plug-in com.apple.dt.IDEVisionSupportUI
2024-10-09 00:08:29.282 mlaunch[54110:4247040] Requested but did not find extension point with identifier Xcode.Xcode3UI.Xcode3SupportedDestinations for extension IDEAppleTVSupportUI:IDEAppleTVSupportUI.plugindata/plug-in[1]/extension[11] of plug-in com.apple.dt.IDEAppleTVSupportUI
2024-10-09 00:08:29.282 mlaunch[54110:4247040] Requested but did not find extension point with identifier Xcode.DebuggerFoundation.DeviceIconProvider for extension Xcode.DebuggerFoundation.DeviceIconProvider.AppleTV of plug-in com.apple.dt.IDEAppleTVSupportUI
2024-10-09 00:08:29.282 mlaunch[54110:4247040] Requested but did not find extension point with identifier Xcode.DebuggerFoundation.ViewDescriber for extension Xcode.DebuggerFoundation.ATVSimulator.ViewDescriber of plug-in com.apple.dt.IDEAppleTVSupportUI
2024-10-09 00:08:29.282 mlaunch[54110:4247040] Requested but did not find extension point with identifier Xcode.Xcode3ProjectSupport.InfoEditorType for extension Xcode.Xcode3ProjectSupport.InfoEditorType.appletvos.Bundle of plug-in com.apple.dt.IDEAppleTVSupportUI
2024-10-09 00:08:29.282 mlaunch[54110:4247040] Requested but did not find extension point with identifier Xcode.DebuggerFoundation.ViewDescriber for extension Xcode.DebuggerFoundation.ATV.ViewDescriber of plug-in com.apple.dt.IDEAppleTVSupportUI
2024-10-09 00:08:29.282 mlaunch[54110:4247040] Requested but did not find extension point with identifier Xcode.DebuggerFoundation.DataSourceConnection for extension Xcode.DebuggerFoundation.tvOS.DataSourceConnectionTargetHub of plug-in com.apple.dt.IDEAppleTVSupportUI
2024-10-09 00:08:29.282 mlaunch[54110:4247040] Requested but did not find extension point with identifier Xcode.Xcode3ProjectSupport.InfoEditorSlice for extension Xcode.Xcode3ProjectSupport.InfoEditorSlice.appletvos.BundleTargetInfo of plug-in com.apple.dt.IDEAppleTVSupportUI
2024-10-09 00:08:29.282 mlaunch[54110:4247040] Requested but did not find extension point with identifier Xcode.DebuggerFoundation.DataSourceConnection for extension Xcode.DebuggerFoundation.tvOSSimulator.DataSourceConnectionTargetHub of plug-in com.apple.dt.IDEAppleTVSupportUI
xcrun devicectl -j /var/folders/41/1scblbfs6713lpd4v_80d7th0000gn/T/tmpcWPPME.tmp device process launch --terminate-existing --device "Moien's iPhone" ai.myApplication --connection-mode wifi
00:28:33  Acquired tunnel connection to device.
00:28:33  Enabling developer disk image services.
00:28:33  Acquired usage assertion.
ERROR: The application failed to launch. (com.apple.dt.CoreDeviceError error 10002 (0x2712))
       NSLocalizedRecoverySuggestion = Provide a valid bundle identifier.
       NSLocalizedFailureReason = The requested application ai.myApplication is not installed.
       BundleIdentifier = ai.myApplication
       ----------------------------------------
           The operation couldn’t be completed. (OSStatus error -10814.) (NSOSStatusErrorDomain error -10814 (0xFFFFD5C2))
           _LSFunction = runEvaluator
           _LSLine = 1734
error MT1045: Failed to execute 'devicectl': 'devicectl -j /var/folders/41/1scblbfs6713lpd4v_80d7th0000gn/T/tmpcWPPME.tmp device process launch --terminate-existing --device "Moien's iPhone" ai.myApplication --connection-mode wifi' returned the exit code 1.
error MT1046: Additional output: xcrun devicectl -j /var/folders/41/1scblbfs6713lpd4v_80d7th0000gn/T/tmpcWPPME.tmp device process launch --terminate-existing --device "Moien's iPhone" ai.myApplication --connection-mode wifi
error MT1046: Additional output: 00:28:33  Acquired tunnel connection to device.
error MT1046: Additional output: 00:28:33  Enabling developer disk image services.
error MT1046: Additional output: 00:28:33  Acquired usage assertion.
error MT1046: Additional output: ERROR: The application failed to launch. (com.apple.dt.CoreDeviceError error 10002 (0x2712))
error MT1046: Additional output:        NSLocalizedRecoverySuggestion = Provide a valid bundle identifier.
error MT1046: Additional output:        NSLocalizedFailureReason = The requested application ai.myApplication is not installed.
error MT1046: Additional output:        BundleIdentifier = ai.myApplication
error MT1046: Additional output:        ----------------------------------------
error MT1046: Additional output:            The operation couldn’t be completed. (OSStatus error -10814.) (NSOSStatusErrorDomain error -10814 (0xFFFFD5C2))
error MT1046: Additional output:            _LSFunction = runEvaluator
error MT1046: Additional output:            _LSLine = 1734

@microsoft-github-policy-service microsoft-github-policy-service bot added need-attention An issue requires our attention/response and removed need-info Waiting for more information before the bug can be investigated labels Oct 9, 2024
@rolfbjarne
Copy link
Member

@MoienTajik that particular errors happens because the app isn't installed. Does this happen with VSCode or another IDE? Or are you doing this from the command line?

@corne-ac
Copy link
Author

corne-ac commented Oct 9, 2024

All the "Requested but did not find extension point with identifier" lines are warnings, not errors. It's likely the actual errors are further down, buried in other output: can you attach the complete output as a file?

I dont have access to the physical devices right now, but will post when i have again.

But the output ended there, the next line printed, stated "app launched on device xxx" and that was the end. No debug output or more build output.

@rolfbjarne
Copy link
Member

But the output ended there, the next line printed, stated "app launched on device xxx" and that was the end. No debug output or more build output.

That means the app was launched successfully on the device, so the problem isn't with mlaunch, it's something else.

A few more questions:

  • Which version of macOS are you using, macOS 14.7+ (Sonoma) or macOS 15.0 (Sequoia)?
  • Do you see the same behavior on both simulator and device?
  • When on device, is the device connected using the USB cable the whole time?

@rolfbjarne rolfbjarne added need-info Waiting for more information before the bug can be investigated no-auto-reply For internal use and removed need-attention An issue requires our attention/response labels Oct 10, 2024
@microsoft-github-policy-service microsoft-github-policy-service bot removed the no-auto-reply For internal use label Oct 10, 2024
@corne-ac
Copy link
Author

But the output ended there, the next line printed, stated "app launched on device xxx" and that was the end. No debug output or more build output.

That means the app was launched successfully on the device, so the problem isn't with mlaunch, it's something else.

A few more questions:

* Which version of macOS are you using, macOS 14.7+ (Sonoma) or macOS 15.0 (Sequoia)?

* Do you see the same behavior on both simulator and device?

* When on device, is the device connected using the USB cable the whole time?

Yes the app does launch successfully, the problem lies in the debugger not working as expected on a physical device. It prints no output, nothing, after this gets printed, but the IDE states it is connected and all. A teammate of mine just reported to me that this behaviour is happening to them also.

  • This is on macOS 15.0
  • Only on physical device, the errors sometimes print on the simulator also, but the debugger works as expected so nothing odd happening on simulator side
  • Yes, this is over a cable connection

@microsoft-github-policy-service microsoft-github-policy-service bot added need-attention An issue requires our attention/response and removed need-info Waiting for more information before the bug can be investigated labels Oct 10, 2024
@rolfbjarne
Copy link
Member

I wonder if this is related to #21310 in some way.

Can you try turning on airplane mode on the device to see if that makes a difference?

@rolfbjarne rolfbjarne added need-info Waiting for more information before the bug can be investigated no-auto-reply For internal use and removed need-attention An issue requires our attention/response labels Oct 10, 2024
@microsoft-github-policy-service microsoft-github-policy-service bot removed the no-auto-reply For internal use label Oct 10, 2024
@corne-ac
Copy link
Author

Doing that made no difference. Still getting the same results. Will test further when I am able to.

@microsoft-github-policy-service microsoft-github-policy-service bot added need-attention An issue requires our attention/response and removed need-info Waiting for more information before the bug can be investigated labels Oct 16, 2024
@rolfbjarne rolfbjarne changed the title mlaunch - Requested but did not find extension point with identifier ------ Debugger doesn't work on device Oct 17, 2024
@rolfbjarne
Copy link
Member

This is rather strange.

To recap:

  • The app launches and runs fine, the problem is that the debugger may or may not connect / breakpoints aren't hit.
  • The problem is random - trying again (without any other changes) may suddenly work.
  • The problem only occurs on device, not the simulator.
  • The device is plugged into the Mac with a USB cable.
  • The problem is still reproducible when the device has Airplane mode turned on.
  • It happens with both Rider and VSCode.
  • You've seen the problem on at least two different Macs.
  • The problem still happens if you create a new project from a template.

Questions:

  • Have you seen this on more than on device?

@rolfbjarne rolfbjarne added need-info Waiting for more information before the bug can be investigated and removed need-attention An issue requires our attention/response labels Oct 17, 2024
Copy link
Contributor

Hi @corne-ac. 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.

@rolfbjarne
Copy link
Member

Another question: does it work if you uninstall the app from the device before trying again?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
need-info Waiting for more information before the bug can be investigated
Projects
None yet
Development

No branches or pull requests

3 participants