非托管代码调试Visual Studio 2012 ErrorCode CXX0017

时间:2022-12-29 02:52:24

I want to debug unmanaged Code in Visual Studio 2012. The unmanaged code is based on VB6. It's possible to step through the code. But the value of many variables coudln't be accessed. I receive the errorcoe CXX0017 by Visual Studio 2012. For example I would like to debug a MSXML variable. I don't have a pdb / symbol files of these variables.

我想在Visual Studio 2012中调试非托管代码。非托管代码基于VB6。可以单步执行代码。但是很多变量的价值都无法获得。我收到了Visual Studio 2012的错误CXX0017。例如,我想调试一个MSXML变量。我没有这些变量的pdb /符号文件。

What can I do the see the value of the variable?

我该怎么做才能看到变量的值?

Thanks...

谢谢...

2 个解决方案

#1


1  

If you don't have the pdb / symbol files you will NOT be able to debug through them.

如果您没有pdb /符号文件,则无法通过它们进行调试。

#2


0  

Doing a clean/rebuild as the user (with the problem) should help fix it or give you more clues as to what's causing it (like a permissions issue).

以用户身份执行清理/重建(有问题)应该有助于修复它或为您提供更多线索(如权限问题)。

#1


1  

If you don't have the pdb / symbol files you will NOT be able to debug through them.

如果您没有pdb /符号文件,则无法通过它们进行调试。

#2


0  

Doing a clean/rebuild as the user (with the problem) should help fix it or give you more clues as to what's causing it (like a permissions issue).

以用户身份执行清理/重建(有问题)应该有助于修复它或为您提供更多线索(如权限问题)。