locked
Error when trying to debug?? RRS feed

  • Question

  • Hi, I'm using Mircosoft Visual Studio 2005 basicly only for C++ programing and lately I got some issues.

    Let's say i make simple code and try to debug it :

    #include <iostream>
    using namespace std;

    int main () {

        cout << "Hey" << endl;
        system ("Pause");
        return 0;
    }



    I press f5 and it runs, but when i go out of my program in "debug window " in bottom screen i got these errors :

    'Proj.exe': Loaded 'D:\My Documents\Visual Studio 2005\Projects\Proj\Debug\Proj.exe', Binary was not built with debug information.
    'Proj.exe': Loaded 'C:\WINDOWS\system32\ntdll.dll', No symbols loaded.
    'Proj.exe': Loaded 'C:\WINDOWS\system32\kernel32.dll', No symbols loaded.
    'Proj.exe': Loaded 'C:\WINDOWS\system32\shimeng.dll', No symbols loaded.
    'Proj.exe': Unloaded 'C:\WINDOWS\system32\shimeng.dll'
    'Proj.exe': Loaded 'C:\Program Files\Spyware Doctor\klg.dat', Binary was not built with debug information.
    'Proj.exe': Loaded 'C:\WINDOWS\system32\oleaut32.dll', No symbols loaded.
    'Proj.exe': Loaded 'C:\WINDOWS\system32\advapi32.dll', No symbols loaded.
    'Proj.exe': Loaded 'C:\WINDOWS\system32\rpcrt4.dll', No symbols loaded.
    'Proj.exe': Loaded 'C:\WINDOWS\system32\gdi32.dll', No symbols loaded.
    'Proj.exe': Loaded 'C:\WINDOWS\system32\user32.dll', No symbols loaded.
    'Proj.exe': Loaded 'C:\WINDOWS\system32\msvcrt.dll', No symbols loaded.
    'Proj.exe': Loaded 'C:\WINDOWS\system32\ole32.dll', No symbols loaded.
    'Proj.exe': Loaded 'C:\WINDOWS\system32\imm32.dll', No symbols loaded.
    'Proj.exe': Loaded 'C:\WINDOWS\system32\apphelp.dll', No symbols loaded.
    'Proj.exe': Loaded 'C:\WINDOWS\system32\version.dll', No symbols loaded.
    The program '[652] Proj.exe: Native' has exited with code 0 (0x0).


    What's up with that? Any solutions cause It's very annoying

    Thank you.
    Monday, September 3, 2007 10:35 PM

Answers

  • Relax, be happy. You get annoyed too easily. Those messages are not error messages! They are normal informational messages.

     

    Excuse me if I am being too emphatic, but you are not the first person that has assumed they are error messages and asked questions such as you have.

    Tuesday, September 4, 2007 4:38 AM

All replies

  • Relax, be happy. You get annoyed too easily. Those messages are not error messages! They are normal informational messages.

     

    Excuse me if I am being too emphatic, but you are not the first person that has assumed they are error messages and asked questions such as you have.

    Tuesday, September 4, 2007 4:38 AM
  •  ReiKo wrote:

    'Proj.exe': Loaded 'D:\My Documents\Visual Studio 2005\Projects\Proj\Debug\Proj.exe', Binary was not built with debug information.

     

    Note, I suppose, you are running application in release mode.

    All other read Simple Sample's post.
    Tuesday, September 4, 2007 7:11 AM
  • So, I shoudn't eaven look at that msg's ...they are complety normal and happens to anyone who compiles code?
    Tuesday, September 4, 2007 9:05 AM
  • Those are not problems unless you have Symbols installed and you expect them to be picked up.

     

    Tuesday, September 4, 2007 9:48 AM
  •  Aleksandr Tokarev wrote:
    Note, I suppose, you are running application in release mode.

    Yes, that appears to be what is happening. Eventhough the directory is the Debug directory, the compiled program does not have debugging information. There was probably a dialog box also that said there is no debugging information so the message in the debug log would be more of an information message than an error message.

    Tuesday, September 4, 2007 3:23 PM
  •  ReiKo wrote:
    So, I shoudn't eaven look at that msg's ...they are complety normal and happens to anyone who compiles code?

    Yes, look at the messages; sometimes there are messages in the debug log that are important, but nearly always the messages about symbols not being loaded can be ignored; they are completely normal. They never, ever, not even once in a million years are output from compiling.

    Tuesday, September 4, 2007 3:26 PM