Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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

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

enter image description here

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

like image 698
markzzz Avatar asked Jan 11 '18 09:01

markzzz


2 Answers

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

Example: enter image description here

like image 133
TheLogicGuy Avatar answered Oct 29 '22 12:10

TheLogicGuy


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

enter image description here

enter image description here

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

enter image description here

like image 22
sajal Shrivastava Avatar answered Oct 29 '22 11:10

sajal Shrivastava