Visual Studio Debugger displays wrong values for native types

后端 未结 3 1373
暖寄归人
暖寄归人 2021-01-21 16:31

I am writing a program in managed C++ and native C++ using Visual Studio 2008 (Version 9.0.30729.1 SP) and .NET 3.5.
When debugging, Visual Studio displays obviously wrong v

3条回答
  •  清酒与你
    2021-01-21 16:37

    It seems that switching the Common Language Runtime Support under Configuration Properties from Pure MSIL Common Language Runtime Support (/clr:pure) to Common Language Runtime Support ( /clr) did the trick. I can now view native objects just fine.

提交回复
热议问题