Can't find or open PDB file in VS2015

Loading: https://blog.csdn.net/aalonso/article/details/90672072

 

MFCApplication1.exe "(Win32):" C: \ Windows \ System32 \ oleaut32.dll "has been loaded. Cannot find or open the PDB file.

"MFCApplication1.exe" (Win32): "C: \ Windows \ System32 \ shlwapi.dll" has been loaded. Unable to find or open the PDB file.

"MFCApplication1.exe" (Win32): "C: \ Windows \ System32 \ imm32.dll" has been loaded. Unable to find or open the PDB file.

"MFCApplication1.exe" (Win32): "C: \ Windows \ System32 \ msctf.dll" has been loaded. Unable to find or open the PDB file.

"MFCApplication1.exe" (Win32): "C: \ Windows \ System32 \ uxtheme.dll" has been loaded. Unable to find or open the PDB file.

"MFCApplication1.exe" (Win32): "C: \ Windows \ winsxs \ amd64_microsoft.windows.common-controls_6595b64144ccf1df_6.0.7601.23403_none_e36ad4593102f066 \ comctl32.dll" has been loaded. Unable to find or open the PDB file.

"MFCApplication1.exe" (Win32): "C: \ Windows \ winsxs \ amd64_microsoft.windows.gdiplus_6595b64144ccf1df_1.1.7601.23407_none_14556c1e8b95d0b8 \ GdiPlus.dll" has been loaded. Unable to find or open the PDB file.

"MFCApplication1.exe" (Win32): "C: \ Windows \ System32 \ cryptbase.dll" has been loaded. Unable to find or open the PDB file.

"MFCApplication1.exe" (Win32): "C: \ Windows \ System32 \ shell32.dll" has been loaded. Unable to find or open the PDB file.

"MFCApplication1.exe" (Win32): "C: \ Windows \ System32 \ dwmapi.dll" has been loaded. Unable to find or open the PDB file.

 

As shown below:

 

 

 

Solution:

1. Open vs2015, click "Tools" in the menu bar, find the option, as shown below

 

 

2. In the options, expand debugging, open the general, select "enable source server support" in the right window, then a security alert will appear, click "Yes".

 

 

 

 

 

 

3. Start debugging, open the symbol, check "Microsoft Symbol Server", a warning pops up, click OK

 

 

4. Click on the "Local Windows Debugger", the first time it will download the relevant symbol set from the Windows server, which takes a little time.

 

 

5. Later, the program starts. In the future, if the program is debugged again, there is no need to wait again (because the symbol set has been downloaded from the server to the local).

 

Guess you like

Origin www.cnblogs.com/MCSFX/p/12670859.html