Click here to Skip to main content
15,886,724 members
Please Sign up or sign in to vote.
5.00/5 (1 vote)
See more:
Hi,
I have C++ code that works in VS 2008 perfectly. when compile that in VS2010, compiles with no errors but when try run get below errors:
'LineFilterTick.exe': Loaded 'C:\Windows\SysWOW64\ntdll.dll', Cannot find or open the PDB file
'LineFilterTick.exe': Loaded 'C:\Windows\SysWOW64\kernel32.dll', Cannot find or open the PDB file
'LineFilterTick.exe': Loaded 'C:\Windows\SysWOW64\KernelBase.dll', Cannot find or open the PDB file
'LineFilterTick.exe': Loaded 'C:\Windows\SysWOW64\msvcp100d.dll', Symbols loaded.
'LineFilterTick.exe': Loaded 'C:\Windows\SysWOW64\msvcr100d.dll', Symbols loaded.
The program '[8664] LineFilterTick.exe: Native' has exited with code 0 (0x0).

How to solve this?
Regards,
Posted
Updated 27-May-12 1:07am
v2

1 solution

Unless you do kernel debugging, you do not need ntdll.dll, kernel32.dll, etc symbol information. The absent symbols are the reason that you get the warning (not the error) - "Cannot find or open the PDB file".

You can get debugging symbols for most of these DLLs by going to Tools->Options->Debugging->Symbols. Here check Microsoft Symbol Server and in the Cache symbols enter a path to an empty directory where you want to cache these symbols. Symbols will be downloaded to directory chosen (takes some time). Note, that usually you don't need these symbols loaded. But, in my opinion, you should have symbols on your machine in case you will need them for debugging, or to analyze crash dump.

- This is corresponding MSDN source: How to: Use a Symbol Server[^]

- And, this is what you should know for Debugging with symbols[^]
 
Share this answer
 
v3
Comments
Sandeep Mewara 27-May-12 9:36am    
5!
stib_markc 29-May-12 5:47am    
Good question and Excellent answer

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900