Search code examples
c#debuggingbreakpointsjetbrains-iderider

Breakpoints not being hit in JetBrains Rider?


I am trying to set a breakpoint in JetBrains Rider, but the debugger isn't breaking.

I know for sure the application should reach the code I'm trying to break on, as changing string literals appears in the program.

I have completely reinstalled all my JetBrains programs (wiping settings). I've also tried every answer in this thread: break point is not hitting while debugging, with no luck.

This bug doesn't occur in Visual Studio, but does occur with any project in Rider.

It also doesn't happen on my other copy of Rider that I use on my other PC.

I appreciate any help, thanks!


Solution

  • I've found what was causing it.

    As of Rider 2018.1.3, the solution you're running must be on the same disk as the copy of Rider you're using.

    This issue is referenced on JetBrains support here.

    You can temporarily solve this by either moving your solution to the same drive, or by reinstalling Rider.