Does winbase::LoadLibrary() load .pdbs?

好久不见. 提交于 2019-12-11 06:33:18

问题


I have issues with debugging of a library loaded at runtime, and an unknown is:

Does winbase::LoadLibrary() load the .pdb in debugging mode?

Because if it doesn't, that would explain why I cannot use any debugging in my DLL, and if it does, that would at least tell me to search for the problem somewhere else.

Obvious follow-up: If it does not, how do I get VS2010 to load the pdb anyway?

[1] http://msdn.microsoft.com/en-us/library/ms684175(VS.85).aspx


回答1:


The symbol file search is conducted whenever a DLL is loaded into your process space, independent of how that happens. Your problem must lie elsewhere.




回答2:


The Visual Studio debugger uses the path to the PDB in the EXE or DLL file to find the project.PDB file.



来源:https://stackoverflow.com/questions/3857051/does-winbaseloadlibrary-load-pdbs

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!