使用Visual Studio调试时无法看到的boost ::可选内容 [英] Can't see boost::optional contents when debugging with Visual Studio

查看:266
本文介绍了使用Visual Studio调试时无法看到的boost ::可选内容的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如果我尝试在可变直视,我看到了一个标志。如果我创建一个表调用 is_initialized 函数中,我得到以下错误:

If I try to look at the variable directly, I see a ? sign. If I create a watch calling the is_initialized function, I get the following error:

CXX0033:错误:错误OMF类型信息

CXX0033: Error: error in OMF type information

我没有找到关于此错误的使用谷歌,以提高相关的很多信息。

I didn't find much info about this error related to Boost using Google.

别人的经验?这是一个使用的OutputDebugString 麻烦无处不在,重建...

Anybody else experienced this? It's a hassle using OutputDebugString everywhere and rebuilding...

修改:使用Visual Studio 2010 SP1与Windows XP SP3同上所有修补程序和Boost 1.49.0

EDIT: Using Visual Studio 2010 SP1 with all hotfixes in Windows XP SP3 idem, and Boost 1.49.0

更新:这个问题来了又走,它不会持续发生;调试器可视化工具一个很好的解决方案,我已经通过了他们作为我的新工具

UPDATE: This issue comes and goes, it doesn't happen consistently; Debugger Visualizers are a great solution, I've adopted them as my brand new tool

推荐答案

您可以使用 DebuggerVisualizers

这篇关于使用Visual Studio调试时无法看到的boost ::可选内容的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆