JetBrains Rider debug mode evaluator exception
Asked Answered
S

1

7

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

Skirt answered 13/12, 2021 at 9:40 Comment(2)
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.Shamblin
@IvanShakhov: The issue link: youtrack.jetbrains.com/issue/RIDER-75248/…Mimi
R
15
  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.

Rectify answered 20/1, 2022 at 9:57 Comment(4)
Thank you, this did the trick for me as wellSkirt
I finally got frustrated enough to look this issue up, and found this answer. This was a lifesaver, thank you!Welford
The deleting of just workspace.xml helped meIncase
If you don't want to lose the entire workspace.xml try removing <component name="DisabledMethodsStorage"> entry in the workspace.xml. That fixed it for me. It had an entry to disable System.Linq.SystemCore_EnumerableDebugView. Not sure why.Pitchblende

© 2022 - 2024 — McMap. All rights reserved.