wntdll.pdb not loaded - Can't see the exception

三世轮回 提交于 2019-12-19 05:45:14

问题


Sometimes when I quit my application (SaviHOST running a DLL that I'm making) I show this screen:

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


回答1:


  1. Connect to Internet.
  2. Enable Microsoft Symbol Servers in Symbol path settings.

  1. Close VS (I used VS 2015)
  2. Restart and Debug With Native. All symbols will be loaded from MS Servers.




回答2:


To see what line in your code caused it click continue and then a pop up pops, click retry.

Example:



来源:https://stackoverflow.com/questions/48203687/wntdll-pdb-not-loaded-cant-see-the-exception

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