• Register
0 votes

Problem :

I have recently downloaded VS 2013 Community Edition and I have written the first app. When I try to run it, it usually shows me the below output section:

'ConsoleApplication1.exe' (Win32): Loaded 'D:\Users\Toshiba\Documents\Visual Studio 2019\Projects\ConsoleApplication1\Debug\ConsoleApplication1.exe'. Symbols loaded.
'ConsoleApplication1.exe' (Win32): Loaded 'D:\Windows\System32\ntdll.dll'. Cannot find or open the PDB file.
'ConsoleApplication1.exe' (Win32): Loaded 'D:\Windows\System32\kernel32.dll'. Cannot find or open the PDB file.
'ConsoleApplication1.exe' (Win32): Loaded 'D:\Windows\System32\KernelBase.dll'. Cannot find or open the PDB file.
'ConsoleApplication1.exe' (Win32): Loaded 'D:\Windows\System32\msvcp120d.dll'. Cannot find or open the PDB file.
'ConsoleApplication1.exe' (Win32): Loaded 'D:\Windows\System32\msvcr120d.dll'. Cannot find or open the PDB file.
The program '[11200] ConsoleApplication1.exe' has exited with code 0 (0x0).

Why am I facing the above error? I thoroughly checked my code several times so I know that the problem is not in my code. Have anybody faced the above issue and know the solution on it?

6 5 3
7,540 points

Please log in or register to answer this question.

2 Answers

0 votes

Solution :

Following solution worked for me. You need to go to Tools-> Options -> Debugger -> Native and check the Load DLL exports. And your issue will be resolved.


You need to go to Tools->Options->Debugging->Symbols and select checkbox "Microsoft Symbol Servers.Then the Visual Studio will download PDBs automatically.

Please Note : The PDB is the debug information file used by the Visual Studio. These are system DLLs, which you generally don't have the debug symbols for.[...]

9 7 4
38,600 points
0 votes


Attempt go to Tools->Options->Debugging->Symbols and choose checkbox "Microsoft Symbol Servers", Visual Studio will download PDBs automatically.

No problem. You're running your code under the debugger, and the debugger is saying you that it doesn't have debugging information for the system libraries.

In case you truly require that (generally for stack traces), you can download it from Microsoft's symbol servers, however for now you don't require to worry.

PDB files are coupled files bearing symbols of modules to be employed at the time of debugging. They are originated for your sources during the debug build process. However there might be no such files for external modules like system DLLs.

The messages you view in the debug output window are only informational and can be ignored.

In case you truly want these symbol files, see "Microsoft public symbol servers" at Specify Symbol (.pdb) and Source Files in the Visual Studio Debugger.

Further, for the Microsoft dlls (like msvcr dlls), you might require to link to the Microsft Symbol server. Read more about it here : Debugging with Symbols (Windows)
Employing a Symbol Server - Windows 10 hardware dev

Hence originally the system requires to know a location where it can download the symbols from the MS server as and when nrcessary (like symbol would be downloaded on require basis, not only for all dlls.) and the debugger reqyires to know this location so that while debugging, it can collect the symbols for MS dlls. this is how i remember it used to be . expect its same still )

These are not error messages - they are informational messages from the Visual Studio debugger listing the several executables and Dynamic Link Libraries (DLLs) that have been loaded, and whether or not the PDB (Program DataBase) file bearing debug symbol information was constructed. Usually, the PDB file for your application will be constructed, as it was here, however PDBs for run-time and system DLLs will not. If not you plan to debug the system DLLs you don't require their PDB files and must ignore these messages.

You may further see a message corresponding to:

The program '[11536] Project01.exe' has exited with code 0 (0x0).

This notify that the program ran to completion and exited - here with conquest status of zero. In case you see this message instantly following the "Loaded" messages above, without having the program interrupt into the debugger, you will want to place a breakpoint at the first executable line in the program and then run it again. For C++ applications this is generally not required, however it is necessary for Fortran applications.

10 6 4
31,120 points

Related questions

0 votes
1 answer 12 views
Problem: I just downloaded VS 2013 Community Edition and I wrote my first app. When I run it it shows in the output section: 'ConsoleApplication1.exe' (Win32): Loaded 'C:\Users\Toshiba\Documents\Visual Studio 2013\Projects\ConsoleApplication1\Debug\ConsoleApplication1.exe'. Symbols loaded ... problem? I checked my code on many sites so I know that the problem is not in my code. Can anyone help me?
asked Dec 27, 2020 Mashhoodch 9.3k points
0 votes
2 answers 19 views
i am trying hard but cannot open access to console the root account is locked.
asked Jan 24 waji 1.9k points
0 votes
1 answer 13 views
Problem : Visual studio system cannot find the file specified.
asked Feb 18 Shovo210 2.9k points
1 vote
2 answers 462 views
Problem : I am very new to Ionic, I have recently started working on Ionic but I am facing below error: Runtime Error Uncaught (in promise): Error: Module build failed: Error: ENOENT: no such file or directory, open '/Users/stewart/Development/ionic/theWhoZoo/src/pages ... say they do match. import { MyRatingModel } from '../model/myratingModel'; How can I fix above error need Ionic expert help.
asked Apr 22, 2020 stewart 4k points
1 vote
1 answer 25 views
Problem: I am a new student of C++ programming. I recently started learning it through YouTube and other free resources. I’ve installed the Visual Studio as my IDE and running my program in it. However, I am trying to read a sample text file in Visual Studio and my ... endl; } f.close(); return 0; } Please, figure out the problem for me and help me to run the code successfully. Thanks.
asked Apr 21, 2020 Gavin 15.3k points
0 votes
1 answer 511 views
0 votes
1 answer 18 views
0 votes
1 answer 21 views
Problem: I am running C++ and I have a header file "GameEngine.h" that I am trying to have another file see. When I #include "GameEngine.h" it gives me the error that it cannot open the source file. I have no idea what to do. I have done this literally a thousand times but for some reason this is now not working.
asked Dec 15, 2020 Mashhoodch 9.3k points
0 votes
1 answer 47 views
Problem: This update is the latest in a cumulative series of feature additions and bug fixes for Microsoft Visual C++ 2015 Redistributable.Microsoft .NET Framework 3.5 service pack 1 is a cumulative update that contains many new features building incrementally upon .NET Framework 2.0, 3.0, 3.5, and includes .NET Framework 2.0 service pack 2 and .NET Framework 3.0 service pack 2 cumulative updates.
asked Dec 25, 2020 Mashhoodch 9.3k points
0 votes
1 answer 11 views
Problem: No idea what's going on. I looked at other posts that are similar to this issue but no solution helped so far. Here's the code with comments by the parts giving errors. At one point it says that != doesn't work and in the rest of the code it's saying that << isn't working.
asked Dec 23, 2020 Mashhoodch 9.3k points