[Bug] Resharper causes multi-threaded debugging - horrible side-effects when stepping through
When you create a simple console application, and run it with the settings:
With the resharper settings: Resharper → Editor Integration → Only “Show Linq expression values” enabled, everything else off
You will get 2 Console.WriteLines instead of 1
With all debugger settings enabled, You will get 3 Console.WriteLines instead of 1
I tried to upload a video, Upload id: 2023_09_13_rLCHGXgc6pczcENnG9nRRP (files: Untitled.mp4, Untitled2.mp4)
Don't know if I can publicly share the videos.
Obviously anything that has some sort of state (Adding or Removing items from a list) is now completely broken if you step through. You will get multiple duplicate items in your list, or an error that the items don't exist because they've already been removed by the debugger.
Turning off all the options seems to fix Console.WriteLine being called multiple times, but I still have to test this with a real project
Please sign in to leave a comment.
Hello Ron,
thank you for the feedback.
It happens to be a known issue - https://youtrack.jetbrains.com/issue/RSRP-493847
The fix will be available in ReSharper 2023.2.2 which is going to be published in a couple of weeks.