我对运行时加载的库的调试有问题,未知的是:
winbase::loadLibrary()是否在调试模式下加载.pdb?
因为如果没有,这将解释为什么我不能在我的DLL中使用任何调试,如果它使用了,那至少会告诉我在其他地方搜索问题。
明显的后续行动:如果没有,我怎么让VS2010加载PDB呢?
〔1〕 http://msdn.microsoft.com/en-us/library/ms684175(VS.85).aspx
The Visual Studio debugger uses the path to the PDB in the EXE or DLL file to find the project.PDB file.