0

I find something abnormal inside my Windows 7's VS2015 IDE recently. When starting debugging, VS2015 can no longer fetch pdb files from Microsoft's symbol server. This happens around the end of 2019.

Screen shot below:

VS2015 on win7 fail on MS symbol server upgrade

enter image description here

After some investigation, I find out that pristine pdb file URL http://msdl.microsoft.com/download/symbols/wntdll.pdb/E611E9E16BA54434A45EB38CE9217A792/wntdll.pdb now becomes redirected to sth like https://vsblobprodscussu5shard65.blob.core.windows.net/b-4712e... . And the old VS2015(with update 3) seems unable to follow that HTTP redirection, so it complains about ERROR_INTERNET_HTTP_TO_HTTPS_ON_REDIR .

No doubt it is due to back-end infrastructure upgrade of Microsoft's symbol server.

Of course, using the updated windbg.exe from EWDK 1903, I can download symbols for those system DLLs, but that's quite inconvenient when my most debugging work in done in Visual Studio.

So my question is: Is there way/patch to have VS2015 debugger work with the new symbol server?

============ 2020.04.20 Update ===========

Strange, after I play with VS2015 and windbg back and forth several times for about one hour, VS2015 pdb downloading starts to work suddenly. There must have been some mysterious change behind the scene!

Jimm Chen
  • 2,653
  • 3
  • 27
  • 49
  • Works just fine when I try it, `SYMSRV: wgdi32.pdb from https://msdl.microsoft.com/download/symbols: 380928 bytes`. But is Win10. Looks to me like you got malware on that machine that blocks the redirect to https, try disabling it. – Hans Passant Apr 19 '20 at 15:58
  • I don't think I have malware in my Win7 VM. The **ERROR_INTERNET_HTTP_TO_HTTPS_ON_REDIR** error is a sign of old version of windbg software suite. For example, using symchk.exe from WDK 10.0.10240, `symchk /v c:\windows\system32\ntdll.dll /s` will definitely spout ERROR_INTERNET_HTTP_TO_HTTPS_ON_REDIR, and swtiching to symchk.exe from EWDK 1903 works immediately -- as I have tried myself. – Jimm Chen Apr 20 '20 at 04:33
  • use HTTPs and not HTTP – magicandre1981 Apr 21 '20 at 14:28

0 Answers0