Here is the error
Cannot evaluate expression because a thread is stopped at a point where garbage collection is impossible, possibly because the code
I was having same issue in Visual Studio 2017. Going to Debug> Options> Debugging> General and checking "Suppress JIT optimization on module load(Managed only)" fixed my issue