-
Notifications
You must be signed in to change notification settings - Fork 695
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
Mac Sonoma 14.4.1 with arm arch fails to start x64 debug #7957
Comments
dotnet/sdk#43206 |
What is printed to the integrated terminal? |
If you try running From a debugger perspective, there isn't an obvious problem -- it looks like the target process just decides to exit for some reason. I don't know why that reason isn't printed to the terminal, but probably worth trying from a real console. |
The program started. I also tried using Rider, but the same problem occurred. If I start debugging, it stops working. However, just running the code works fine. |
Interesting. Sounds like maybe there is something incompatible between Rossetta emulation of the very low-level debugging primitives the runtime uses. A few ideas to troubleshoot next:
launch.json setting to turn on logging:
|
1-2. I created an empty APS.NET project:
|
Thanks! With your information I was able to reproduce this as well. I couldn't find an issue for it in the .NET Runtime repo, so I opened one: dotnet/runtime#112137 |
Thanks! |
The issue no longer reproduces, it is more likely Rosetta has fixed. |
Environment data
dotnet --info
output:VS Code version: 1.96.4 (Universal)
C# Extension version: 2.61.28
Steps to reproduce
Set a launch option
and start to debug.
Behavior
I need to switch from ARM to x64 for my .NET project. The project has been migrated from .NET 8 to .NET 9, and now I need to use version 9. However, for some reason, the x64 SDK is not working properly for debugging, and it can only be used for running the project. ARM versions are working fine (but I cannot use it).
So if I start debug, it begins to execute, but suddenly stops without any message.
Also the debug console contains
I am not sure if it is a .NET 9 issue, but I have not been able to find anything similar. Perhaps it is just a problem on my end for some reason.
The text was updated successfully, but these errors were encountered: