Unable to set breakpoints in Rider on Ubuntu Follow
I'm trying out Rider on a LinuxMint 64-bit machine. My C# project is set up as a library with a separate C# project set up as an executable application (main program) that references the library project. I'm using .NET Core 5.0.408.
The project builds and runs and I can set breakpoints in the main program but not in the library. When I step into the library from the main program, I can single step normally through the library code and see variables etc. but I can't set any breakpoints. In the main program, I can hover over the left gutter and a red circle with an overlaid + appears inviting a breakpoint to be set - but in the library code, no such option is visible, and the Run | Toggle Breakpoint menu appears disabled. I couldn't see any obvious settings that I have missed configuring - what could be the reason for the observed behaviour? Thanks in advance.
Please sign in to leave a comment.
Hello Vinay, it might happen if runtime decline to set up the breakpoint in that exact place. Could you please share a bit more details, do you see any error, warning message, can you add a screenshot to make the case a bit more clear?
Hi Olga, thanks for the response. I didn't change anything, but the breakpoints seem to work now. It may have been a low-memory issue or similar. I will monitor the situation and come back with more information if I get it. There was definitely no warning or error message - just what I described.