Attach to Process does not show all processes on Mac

Answered

When running "dotnet run" from the command line, the "run" command launches a child process that is the actual application (a dotnet core 3.1 website in this case) that is running, but it does not show up in the list of processes available for attaching to.
However, that child process is the process that needs to be attched to in order to debug it. I confirmed this using VSCode's attach to debugger.

Whenever I bring up the "Attach to Process" dialog, it only shows "dotnet" processes.

Example: With a asp.net project named ProjectA, the "dotnet run" command will show up in the process list _and_ it will have a child process named "ProjectA" but the child does not appear in Rider to attach to.

Am I missing something on how to show all processes, or to be able to attach directly to a PID that I know?

Jon

Version:
JetBrains Rider 2019.3.1
Build #RD-193.5662.14, built on December 19, 2019

2
8 comments
Avatar
Permanently deleted user

Hi there,

I have the same issue with Rider on Linux using .Net Core 3.1.

1
Avatar
Permanently deleted user

I am experiencing the same issue. Using Rider 2019.3.1 with asp net core 3.1 on Linux.

1

Hello,

I tried to test the scenario in my lab, but I can see the process. It would help us a lot if you could share a sample project using which we could try to reproduce the issue one again. You can attach it with a new issue on our bug tracker. Thank you in advance!

0
Avatar
Permanently deleted user

Olga Diakonova I was able to replicate it with a new project. Detailed Bug here: https://youtrack.jetbrains.com/issue/RIDER-38661

1
Avatar
Permanently deleted user

The fix looks like it is coming in v2020.1.

For me, it was because there are dots in the project name.

https://youtrack.jetbrains.com/issue/RIDER-33653

0
Avatar
Permanently deleted user

For those that might land on this in the future, I have confirmed that the release version of 2020.1 does indeed fix this issue.

0
Avatar
Permanently deleted user

This issue exists for me.

Rider 2021.1.1 build #RD-211.6693.127
MacOS 10.15.7
Unity 2019.4.18f1

Posted here and here

0

Please sign in to leave a comment.