[英]How can i debug MFC container properly with visual studio 2015
i am using visual studio 2015 in large legacy project, but when i try to debug a MFC container like CMap, CArray i cannot succeed to see which elements the container has.我在大型遗留项目中使用 Visual Studio 2015,但是当我尝试调试像 CMap、CArray 这样的 MFC 容器时,我无法成功查看容器具有哪些元素。
the only way that i can do it is to assign it to variable and watch the variable in specific key.我能做到的唯一方法是将它分配给变量并在特定键中观察变量。
every time doing it it consume a lot of time of compiling and restart the tool.每次这样做都会消耗大量时间来编译和重新启动工具。
is there a way to overcome this?有没有办法克服这个?
Many thanks Noto非常感谢诺托
您必须创建自定义natvis调试器可视化器。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.