6

I am struggling with Rider on my MacBook as I am unable to evaluate IEnumerables while debugging my code. I am currently running Rider 2021.3.1, but the issue has persisted since before Rider 2021.2. As I do not want to use ToList() all over, this issue makes it a lot harder to debug as I am unable to verify values and count from my enumerables. Does anyone know how to resolve this issue?

When I first encountered the issue I had set my ASPNETCORE_ENVIRONMENT to Release, however I have not set it back to Development, and I am running it in debug mode in Rider.

enter image description here

LazyOne
  • 158,824
  • 45
  • 388
  • 391
elillesaeter
  • 148
  • 10
  • Please submit a bug report to JetBrains with Help - Report a Bu, agree to attach logs. Do it right after reproducing the issue, so logs would have the info. – Ivan Shakhov Dec 14 '21 at 08:00
  • @IvanShakhov: The issue link: https://youtrack.jetbrains.com/issue/RIDER-75248/evaluator-exception-in-F – Dariusz Woźniak Sep 08 '22 at 10:02

1 Answers1

13
  1. Close Rider
  2. Delete or rename .idea directory from your solution folder
  3. Start Rider.

This solved the issue for me.

If you want, you can try deleting workspace.xml file inside the subdirectory of .idea directory. Only significant difference between the new directory content vs old is, workspace.xml. So you can just delete/rename it and give a try.

Jones
  • 548
  • 15
  • 33