简体   繁体   English

在VC6中从VS2008调试DLL

[英]Debugging a DLL from VS2008 in VC6

I am currently debugging a project in VC6 (slowly porting it over to VS2008). 我目前正在VC6中调试项目(将其缓慢移植到VS2008)。 The project links to a DLL that I have produced in VS2008 with a Debug build. 该项目链接到我在VS2008中使用调试版本生成的DLL。 (I know - a strange situation to find myself in.) I need to debug the project in VC6 and step into the calls to the DLL. (我知道,这很奇怪。)我需要在VC6中调试该项目,并进入对DLL的调用。 Even though I have the PDB alongside the DLL, VC6 still reports there is no symbolic info for the DLL when it loads it. 即使我在DLL旁边有PDB,VC6仍然报告在加载DLL时没有符号信息。 Does anyone know why? 有人知道为什么吗? Is the PDB from VS2008 not loadable by VC6? VS6是否可以加载VS2008中的PDB? Any ideas gratefully received... 感谢收到任何想法...

The short answer you can't. 简短的答案,你做不到。 The PDBs are not backwards compatible with earlier version of Visual studio. PDB与Visual Studio的早期版本不向后兼容。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM