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?

1
6 comments

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!

0
I also get this error. I'm running a .net core web project that works in 20222.2.4 but silently dies in 2022.3 on Mac ARM. It can run fine without debugger, but running .net core, it'll build and run. But as soon as the first page tries to load, it'll disappear. I can either upload my trace issues to look at with Jeroen's or create a new post.
0

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.

0

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!

0

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.

0

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.

 

1

Please sign in to leave a comment.