Click here to Skip to main content
12,545,720 members (59,004 online)
Rate this:
Please Sign up or sign in to vote.
See more: C++
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?
Posted 27-May-12 1:06am
Updated 27-May-12 1:07am

1 solution

Rate this: bad
Please Sign up or sign in to vote.

Solution 1

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[^]
Sandeep Mewara 27-May-12 9:36am
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)

  Print Answers RSS
Top Experts
Last 24hrsThis month

Advertise | Privacy | Mobile
Web02 | 2.8.161018.1 | Last Updated 27 May 2012
Copyright © CodeProject, 1999-2016
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100