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
t-satake opened this issue
Jan 23, 2025
· 0 comments
Assignees
Labels
area-dotnet-debuggingIssues around .NET Debugging with console, ASP.NET, or Aspirearea-mauibugSomething isn't workingtriagedThe issue has been triagedvs-syncAdd this label to synchronize the issue to AzDovs-syncdLinked to AzDO
When debugging an iOS app using the .NET MAUI extension in Visual Studio Code, the debugger crashes when starting the camera.
This issue does not occur when maui.configuration.experimental.useVSDbg is set to false.
However, since this option was deprecated in version 1.7.x, it can no longer be avoided.
In version 1.6.x, this option works, so there is no problem.
Here is the video of the issue:
CameraAppCrash.mp4
Here is the error log of the issue:
xcrun devicectl -j /var/folders/p5/s8qp61mx76ddz1__gps5ghph0000gn/T/tmp5SoqvQ.tmp device info processes --device XXXXXXXX-YYYYYYYYYYYYYYYY --filter "executable.path == '/private/var/containers/Bundle/Application/E0D12346-E2BC-4F0A-94B6-556C936A811B/CrashOnCapture.app/CrashOnCapture'"
16:35:09 Acquired tunnel connection to device.
16:35:09 Enabling developer disk image services.
16:35:10 Acquired usage assertion.
ERROR: An error occurred while communicating with a remote process. (com.apple.dt.CoreDeviceError error 3 (0x03))
----------------------------------------
The connection was invalidated. (com.apple.Mercury.error error 1001 (0x3E9))
XPCConnectionDescription = <RemoteXPCPeerConnection 0x600001df03c0> { <remote connection: 0x11560b140> { type = preconnected, state = canceled, remote service name = (null), server mode = 0, protocol version number = 1, protocol feature flags = 0x6, local service version = 0, remote service version = 0, traffic class = 0, (root, reply) helo received = (1, 1), next msg id = 29, first msg id = 1, send in progress = 0, preexisting socket = -1 }
error MT1045: Failed to execute 'devicectl': 'devicectl -j /var/folders/p5/s8qp61mx76ddz1__gps5ghph0000gn/T/tmp5SoqvQ.tmp device info processes --device XXXXXXXX-YYYYYYYYYYYYYYYY --filter "executable.path == '/private/var/containers/Bundle/Application/E0D12346-E2BC-4F0A-94B6-556C936A811B/CrashOnCapture.app/CrashOnCapture'"' returned the exit code 1.
error MT1046: Additional output: xcrun devicectl -j /var/folders/p5/s8qp61mx76ddz1__gps5ghph0000gn/T/tmp5SoqvQ.tmp device info processes --device XXXXXXXX-YYYYYYYYYYYYYYYY --filter "executable.path == '/private/var/containers/Bundle/Application/E0D12346-E2BC-4F0A-94B6-556C936A811B/CrashOnCapture.app/CrashOnCapture'"
error MT1046: Additional output: 16:35:09 Acquired tunnel connection to device.
error MT1046: Additional output: 16:35:09 Enabling developer disk image services.
error MT1046: Additional output: 16:35:10 Acquired usage assertion.
error MT1046: Additional output: ERROR: An error occurred while communicating with a remote process. (com.apple.dt.CoreDeviceError error 3 (0x03))
error MT1046: Additional output: ----------------------------------------
error MT1046: Additional output: The connection was invalidated. (com.apple.Mercury.error error 1001 (0x3E9))
error MT1046: Additional output: XPCConnectionDescription = <RemoteXPCPeerConnection 0x600001df03c0> { <remote connection: 0x11560b140> { type = preconnected, state = canceled, remote service name = (null), server mode = 0, protocol version number = 1, protocol feature flags = 0x6, local service version = 0, remote service version = 0, traffic class = 0, (root, reply) helo received = (1, 1), next msg id = 29, first msg id = 1, send in progress = 0, preexisting socket = -1 }
プログラム 'CrashOnCapture.dll' がコード 0 (0x0) で終了しました。
XXXXXXXX-YYYYYYYYYYYYYYYY is my device id.
Steps To Reproduce
Open the camera app and start MediaPicker.Default.CapturePhotoAsync.
Repeatedly take photos.
The debugger disconnects from the device, and the debugger session ends.
area-dotnet-debuggingIssues around .NET Debugging with console, ASP.NET, or Aspirearea-mauibugSomething isn't workingtriagedThe issue has been triagedvs-syncAdd this label to synchronize the issue to AzDovs-syncdLinked to AzDO
Describe the Issue
When debugging an iOS app using the .NET MAUI extension in Visual Studio Code, the debugger crashes when starting the camera.
This issue does not occur when
maui.configuration.experimental.useVSDbg
is set to false.However, since this option was deprecated in version 1.7.x, it can no longer be avoided.
In version 1.6.x, this option works, so there is no problem.
Here is the video of the issue:
CameraAppCrash.mp4
Here is the error log of the issue:
XXXXXXXX-YYYYYYYYYYYYYYYY
is my device id.Steps To Reproduce
This issue can be reproduced in the following repository:
https://github.com/t-satake/CrashOnCapture.git
Expected Behavior
Environment Information
| VS Bug 2352347
The text was updated successfully, but these errors were encountered: