Home Dashboard Directory Help
Search

Visual C++ 2010 Express can't find or open the PDB file by friendlyfriendlier


Status: 

Closed
 as By Design Help for as By Design


1
2
Sign in
to vote
Type: Bug
ID: 657897
Opened: 4/7/2011 3:55:30 AM
Access Restriction: Public
0
Workaround(s)
view
0
User(s) can reproduce this bug

Description

I write a "Hello World" with Visual C++ 2010 Express,then debugging,while the out put is as below

'Hello World.exe': Loaded 'G:\C++ project\IsLoadingOK\Debug\Hello World.exe', Symbols loaded.
'Hello World.exe': Loaded 'C:\Windows\System32\ntdll.dll', Cannot find or open the PDB file
'Hello World.exe': Loaded 'C:\Windows\System32\kernel32.dll', Cannot find or open the PDB file
'Hello World.exe': Loaded 'C:\Windows\System32\KernelBase.dll', Cannot find or open the PDB file
'Hello World.exe': Loaded 'C:\Windows\System32\msvcp100d.dll', Symbols loaded.
'Hello World.exe': Loaded 'C:\Windows\System32\msvcr100d.dll', Symbols loaded.
The program '[3812] Hello World.exe: Native' has exited with code 0 (0x0).

files    ntdll kernel32 kernelBase msvcp100d msvcr100d are all in the file System32, which I witnessed.
But only 2 files loaded while 3 cannot .
I'm using Windows7 32bits
Visual Studio 2010 Express
Details
Sign in to post a comment.
Posted by Edim Bassey Edim on 5/9/2012 at 5:41 AM
I'm using windows 7 32bits
Visual studio 2010 Express
Posted by Edim Bassey Edim on 5/9/2012 at 5:40 AM
Hi, I get this error when I run a program
VTC Classes0203.exe': Loaded 'D:\Users\EDIM\Documents\Visual Studio 2010\Projects\VTC Classes0203\Debug\VTC Classes0203.exe', Symbols loaded.
'VTC Classes0203.exe': Loaded 'D:\Windows\System32\ntdll.dll', Cannot find or open the PDB file
'VTC Classes0203.exe': Loaded 'D:\Windows\System32\mscoree.dll', Cannot find or open the PDB file
'VTC Classes0203.exe': Loaded 'D:\Windows\System32\kernel32.dll', Cannot find or open the PDB file
'VTC Classes0203.exe': Loaded 'D:\Windows\System32\KernelBase.dll', Cannot find or open the PDB file
'VTC Classes0203.exe': Loaded 'D:\Windows\System32\msvcr100d.dll', Symbols loaded.
'VTC Classes0203.exe': Loaded 'D:\Windows\System32\msvcp100d.dll', Symbols loaded.
'VTC Classes0203.exe': Loaded 'D:\Windows\System32\advapi32.dll', Cannot find or open the PDB file
'VTC Classes0203.exe': Loaded 'D:\Windows\System32\msvcrt.dll', Cannot find or open the PDB file
'VTC Classes0203.exe': Loaded 'D:\Windows\System32\sechost.dll', Cannot find or open the PDB file
'VTC Classes0203.exe': Loaded 'D:\Windows\System32\rpcrt4.dll', Cannot find or open the PDB file
'VTC Classes0203.exe': Loaded 'D:\Windows\Microsoft.NET\Framework\v4.0.30319\mscoreei.dll', Cannot find or open the PDB file
'VTC Classes0203.exe': Loaded 'D:\Windows\System32\shlwapi.dll', Cannot find or open the PDB file
'VTC Classes0203.exe': Loaded 'D:\Windows\System32\gdi32.dll', Cannot find or open the PDB file
'VTC Classes0203.exe': Loaded 'D:\Windows\System32\user32.dll', Cannot find or open the PDB file
'VTC Classes0203.exe': Loaded 'D:\Windows\System32\lpk.dll', Cannot find or open the PDB file
'VTC Classes0203.exe': Loaded 'D:\Windows\System32\usp10.dll', Cannot find or open the PDB file
'VTC Classes0203.exe': Loaded 'D:\Windows\System32\imm32.dll', Cannot find or open the PDB file
'VTC Classes0203.exe': Loaded 'D:\Windows\System32\msctf.dll', Cannot find or open the PDB file
'VTC Classes0203.exe': Loaded 'D:\Program Files\Searchqu Toolbar\Datamngr\datamngr.dll', Cannot find or open the PDB file
'VTC Classes0203.exe': Loaded 'D:\Windows\System32\wtsapi32.dll', Cannot find or open the PDB file
'VTC Classes0203.exe': Loaded 'D:\Windows\System32\dbghelp.dll', Cannot find or open the PDB file
'VTC Classes0203.exe': Unloaded 'D:\Program Files\Searchqu Toolbar\Datamngr\datamngr.dll'
'VTC Classes0203.exe': Unloaded 'D:\Windows\System32\dbghelp.dll'
'VTC Classes0203.exe': Unloaded 'D:\Windows\System32\wtsapi32.dll'
'VTC Classes0203.exe': Loaded 'D:\Program Files\Searchqu Toolbar\Datamngr\IEBHO.dll', Cannot find or open the PDB file
'VTC Classes0203.exe': Loaded 'D:\Windows\System32\dbghelp.dll', Cannot find or open the PDB file
'VTC Classes0203.exe': Unloaded 'D:\Program Files\Searchqu Toolbar\Datamngr\IEBHO.dll'
'VTC Classes0203.exe': Unloaded 'D:\Windows\System32\dbghelp.dll'
'VTC Classes0203.exe': Loaded 'D:\Windows\Microsoft.NET\Framework\v4.0.30319\clr.dll', Cannot find or open the PDB file
'VTC Classes0203.exe': Loaded 'D:\Windows\System32\msvcr100_clr0400.dll', Cannot find or open the PDB file
'VTC Classes0203.exe': Loaded 'D:\Windows\assembly\NativeImages_v4.0.30319_32\mscorlib\246f1a5abb686b9dcdf22d3505b08cea\mscorlib.ni.dll', Cannot find or open the PDB file
'VTC Classes0203.exe' (Managed (v4.0.30319)): Loaded 'D:\Windows\Microsoft.Net\assembly\GAC_32\mscorlib\v4.0_4.0.0.0__b77a5c561934e089\mscorlib.dll'
'VTC Classes0203.exe': Loaded 'D:\Windows\Microsoft.NET\Framework\v4.0.30319\nlssorting.dll', Cannot find or open the PDB file
'VTC Classes0203.exe': Loaded 'D:\Windows\System32\ole32.dll', Cannot find or open the PDB file
'VTC Classes0203.exe': Loaded 'D:\Windows\System32\cryptbase.dll', Cannot find or open the PDB file
'VTC Classes0203.exe' (Managed (v4.0.30319)): Loaded 'd:\users\edim\documents\visual studio 2010\Projects\VTC Classes0203\Debug\VTC Classes0203.exe', Symbols loaded.
'VTC Classes0203.exe': Loaded 'D:\Windows\Microsoft.NET\Framework\v4.0.30319\clrjit.dll', Cannot find or open the PDB file
'VTC Classes0203.exe': Loaded 'D:\Windows\Microsoft.NET\Framework\v4.0.30319\diasymreader.dll', Cannot find or open the PDB file
'VTC Classes0203.exe': Loaded 'D:\Windows\assembly\NativeImages_v4.0.30319_32\System\964da027ebca3b263a05cadb8eaa20a3\System.ni.dll', Cannot find or open the PDB file
'VTC Classes0203.exe' (Managed (v4.0.30319)): Loaded 'D:\Windows\Microsoft.Net\assembly\GAC_MSIL\System\v4.0_4.0.0.0__b77a5c561934e089\System.dll'
The thread 'Win32 Thread' (0xdec) has exited with code 0 (0x0).
The thread 'Win32 Thread' (0xf50) has exited with code 0 (0x0).
The thread 'Win32 Thread' (0xcec) has exited with code 0 (0x0).
The thread 'Win32 Thread' (0xac8) has exited with code 0 (0x0).
The program '[3608] VTC Classes0203.exe: Managed (v4.0.30319)' has exited with code 0 (0x0).
The program '[3608] VTC Classes0203.exe: Native' has exited with code 0 (0x0).
Can you help me out
Posted by Microsoft on 4/14/2011 at 8:36 AM
Hi, I have taken a look at the png file you have uploaded. As far as I can tell, there is nothing wrong with the situation you are in. The output window shows that the pdb file of your application has been correctly loaded. The pdb files that were shown in the Ouput window to fail to load were the ones for the dlls of the operating system such as kernel32.dll, which were typically not present in a user's system and in most cases, not required for debugging an application. So unless you are unable to debug your own application, the debugger is behaving as expected, based on the information you have provided.

Please let me know if I can be of further help.

Rui Sun
Visual Studio Diagnostics Team
Posted by Microsoft on 4/7/2011 at 7:11 PM
Thank you for submitting feedback on Visual Studio 2010 and .NET Framework. Your issue has been routed to the appropriate VS development team for review. We will contact you if we require any additional information.
Posted by Microsoft on 4/7/2011 at 4:13 AM
Thank you for your feedback, we are currently reviewing the issue you have submitted. If this issue is urgent, please contact support directly(http://support.microsoft.com)
Sign in to post a workaround.