microsoft / vscode-dotnettools

This is a feedback repository to capture issues logged for the C# Dev Kit and related extensions from Visual Studio Code
Other
209 stars 7 forks source link

[BUG] iOS debugger broken on version > 0.9.7 #1104

Open bdidemus opened 2 months ago

bdidemus commented 2 months ago

Describe the Issue

Debugging dotnet-8 ios maui app is broken on .net maui extension versions > 0.9.7 Reverting to 0.9.7 resolves the issue

Debugger crashes and detaches after hitting a breakpoint. Code breaks then debugger detaches and execution continues Newer preview version hard locks app as soon as debugging start until debugger is manually disconnected

Steps To Reproduce

Run debugger on dotnet-8 ios app using simulator or physical device

Expected Behavior

Debugger should work

Environment Information

macOs 14.4.1 xcode 15.2 iOS 17.2 iphone 15 simulator iPad 17.4.1

Arslan007 commented 2 months ago

You can try disabling this setting in VS Code and see if this workaround makes your debugging work again?

image

emaf commented 2 months ago

@bdidemus could you share the content of the Debug Console and the version of the C# and C# Dev Kit extensions you are using?

Mirksar commented 1 month ago

You can try disabling this setting in VS Code and see if this workaround makes your debugging work again?

I have the same problem, and the workaround fixed it for me.

mauroa commented 3 weeks ago

@bdidemus @Arslan007 @Mirksar could you please update C#, C# DevKit and .NET MAUI to latest pre-relase and see if this still reproduces. Many changes around the debugging experience happened since May, so it would be great If you can try again and let us know. If you still experience any issue, please share the content of the Debug output as requested above. Thanks

Arslan007 commented 3 weeks ago

@mauroa That works for me was fixed for me and I closed the bug that I created.