Rider does not debug in .net7 macOS
Hi Guys,
My debugger on macOS no longer works with any application which I run on .net6 and .net7. When I start the debugger it starts the application and for a brief second, it shows in my dock and then disappears and shows the following screen:
I tried to reinstall the application and tried it on my MacStudio but nothing seems to work.
Any hints?
Please sign in to leave a comment.
Hello Jeroen,
What kind of app is it? Could you please enable Trace scenario for Debugger via Help | Diagnostic Tools | Choose Trace Scenarios, reproduce the issue, collect the logs after via Help | Collect Logs and send us the resulting bundle with a new issue on our tracker. Thank you in advance!
This exact same thing is happening for me only for a .Net 5 and .Net 6 application. Also, I'm not on Apple Silicon, I'm on an Intel MacBook Pro. What's even stranger is that I have a .Net 6 Blazor application that works just fine. It's only the .Net MVC application that is experience this issue.
The workflow for the investigation of the issue will be the same for all, please collect the logs that we can review and send them to us via tracker. Thank you in advance!
My issue on the tracker was responded to and disabling the
Dynamic Program Analysis
plugin fixed the issue for me. Apparently that plugin isn't ready for macOS.Richard Nash's solution from above worked for me, but I wasn't able to turn it on or off via the Settings, i.e.,
Settings -> Build, Execution, Deployment -> Enable Dynamic Program Analysis
I had to click on the "Dynamic Program Analysis" triangular icon in the lower right corner and explicitly click "Turn Analysis On/Off" for the setting to actually change. This seems like a bug, but luckily there is this workaround.