Visual C ++调试问题 [英] Visual C++ Debugging problem

查看:176
本文介绍了Visual C ++调试问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我一直在和Visual Studio调试器一直在努力,终于找到了帮助。有一些问题不断造成麻烦。如果您有任何解决方案,我将不胜感激


  1. 尝试观看具有const和非const版本的函数会导致模糊符号错误( CXX0039)

  2. 尝试在模板类中获取函数的值随机给出成员函数未定义错误(CXX0052)

  3. 转换模板类型变量导致错误类型转换,甚至是自己的类型(CXX0019)

我有可视化工作室2010 Professional SP1 SP1



编辑

在#2中,我确定内联关闭。



提前谢谢,

Cem

解决方案

我发现最好的选择是修改autoexp.dat并显示变换的变量。开始它有点困难,但是当你完成它比修复这些问题更好。


I have been having constant struggle with Visual Studio debugger and finally got fed up and seeking help. There are some issues constantly causing trouble. If you have any solutions I will be grateful

  1. Trying to watch a function that has const and non-const versions results in ambiguous symbol error (CXX0039)
  2. Trying to get value of a function in a template class randomly gives member function is not defined error (CXX0052)
  3. Casting a template type variable results in bad type cast, even to its own type (CXX0019)

I have visual studio 2010 Professional with SP1

EDIT
In #2, I am sure that inlining is off.

Thanks in advance,
Cem

解决方案

I have found out that the best option is to modify autoexp.dat and show transformed variables. At start its a bit hard but when you are done its even better than getting these problems fixed.

这篇关于Visual C ++调试问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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