奇怪的VS2010调试器错误 [英] Weird VS2010 debugger error

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

问题描述

我有一个类(只有一个!),用C ++编写,我不能使用调试器。对于这个,我只有它的地址,当我展开它,我只有成员只有__vfptr值为0x00000000。当我从类中调用函数时,我可以在调试器中看到函数参数,但是我看不到任何成员变量。类名是Stream,它没有虚拟函数。它有不同数据类型的许多读/写重载功能。你有什么想法我有这个问题吗?



谢谢!

解决方案

将类名从Stream更改为MemoryStream,现在调试器工作。感谢您的帮助!


I have a class(only one!), written in C++ where I can't use the debugger. For "this" I have only its address and when I expand it I have as member only __vfptr with value 0x00000000. I can see function parameters in the debugger when I call function from the class, but I can't see any member variables. Class name is Stream, it doesn't have virtual functions. It has many Read/Write overloaded functions for different data types. Do you have any idea why I have this problem?

Thanks!

解决方案

Changed class name from Stream to MemoryStream and now debugger works. Thanks for help!

这篇关于奇怪的VS2010调试器错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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