Visual Studio 2015 Debugging: Can't expand local variables?

后端 未结 10 595
离开以前
离开以前 2020-11-29 05:43

I\'m using Visual Studio 2015 preview, and I\'m trying to debug my project. I was using VS 2012 previously, and depended largely on being able to hover over and expand local

10条回答
  •  误落风尘
    2020-11-29 06:07

    As described here, you need to enable the check “Suppress JIT optimizations on module load (Managed only)” in Debug --> Options --> Debugging --> General.

    You need also to remove the "Optimize code" flag in the properties of your projects.

提交回复
热议问题