C++ wntdll.pdb 未加载 - 看不到异常
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/48203687/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
wntdll.pdb not loaded - Can't see the exception
提问by markzzz
Sometimes when I quit my application (SaviHOST running a DLL that I'm making) I show this screen:
有时当我退出我的应用程序(SaviHOST 运行我正在制作的 DLL)时,我会显示以下屏幕:
Unfortunately I don't know where the error happens, because it just load that screen, not the line where the exception is made.
不幸的是,我不知道错误发生在哪里,因为它只是加载该屏幕,而不是发生异常的行。
How can I fix this? What wntdll.pdb have to do with this? Thanks
我怎样才能解决这个问题?wntdll.pdb 与此有什么关系?谢谢
回答by sajal Shrivastava
- Connect to Internet.
- Enable Microsoft Symbol Servers in Symbol path settings.
- 连接到互联网。
- 在符号路径设置中启用 Microsoft 符号服务器。
- Close VS (I used VS 2015)
- Restart and Debug With Native. All symbols will be loaded from MS Servers.
- 关闭 VS(我使用了 VS 2015)
- 使用本机重新启动和调试。所有符号都将从 MS 服务器加载。