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

后端 未结 10 581
离开以前
离开以前 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:15

    This worked for me in VS2017(My VS is in german so the tab names could be a bit different):

    Project -> Properties -> C/C++ -> Code Generation -> RunTimeErrorCheck->\RTC

    Also try deactivating the optimization option since making your code faster could mean not being able to watch the values of your local variables:

    Project -> Properties -> C/C++ -> Optimization -> Disabled

提交回复
热议问题