Binary was not built with debug information.

This is a discussion on Binary was not built with debug information. within the C++ Programming forums, part of the General Programming Boards category; Hi, I am trying to start a program written in c++ but when I start it with debug i got ...

  1. #1
    Registered User
    Join Date
    Jan 2010
    Posts
    1

    Binary was not built with debug information.

    Hi,

    I am trying to start a program written in c++ but when I start it with debug i got the following output:

    'desktop.exe': Loaded 'C:\Users\Jorko\Desktop\test\projekt\desktop\Debug \desktop.exe', Symbols loaded.
    'desktop.exe': Loaded 'C:\Windows\System32\ntdll.dll'
    'desktop.exe': Loaded 'C:\Windows\System32\kernel32.dll'
    'desktop.exe': Loaded 'C:\Program Files\NAG\CL08\cldll084zl\bin\CLDLL084Z_nag.dll', Binary was not built with debug information.
    'desktop.exe': Loaded 'C:\Windows\System32\user32.dll'
    'desktop.exe': Loaded 'C:\Windows\System32\gdi32.dll'
    'desktop.exe': Loaded 'C:\Windows\System32\advapi32.dll'
    'desktop.exe': Loaded 'C:\Windows\System32\rpcrt4.dll'
    'desktop.exe': Loaded 'C:\Windows\System32\wsock32.dll'
    'desktop.exe': Loaded 'C:\Windows\System32\ws2_32.dll'
    'desktop.exe': Loaded 'C:\Windows\System32\msvcrt.dll'
    'desktop.exe': Loaded 'C:\Windows\System32\nsi.dll'
    'desktop.exe': Loaded 'C:\Windows\System32\IPHLPAPI.DLL'
    'desktop.exe': Loaded 'C:\Windows\System32\dhcpcsvc.dll'
    'desktop.exe': Loaded 'C:\Windows\System32\dnsapi.dll'
    'desktop.exe': Loaded 'C:\Windows\System32\secur32.dll'
    'desktop.exe': Loaded 'C:\Windows\System32\winnsi.dll'
    'desktop.exe': Loaded 'C:\Windows\System32\dhcpcsvc6.dll'
    'desktop.exe': Loaded 'C:\Program Files\NAG\CL08\cldll084zl\bin\matrix32.dll', Binary was not built with debug information.
    'desktop.exe': Loaded 'C:\Windows\System32\winspool.drv'
    'desktop.exe': Loaded 'C:\Windows\winsxs\x86_microsoft.vc80.crt_1fc8b3b9 a1e18e3b_8.0.50727.3053_none_d08d7bba442a9b36\msvc r80.dll'
    'desktop.exe': Loaded 'C:\Windows\winsxs\x86_microsoft.vc90.debugcrt_1fc 8b3b9a1e18e3b_9.0.30729.1_none_bb1f6aa1308c35eb\ms vcp90d.dll'
    'desktop.exe': Loaded 'C:\Windows\winsxs\x86_microsoft.vc90.debugcrt_1fc 8b3b9a1e18e3b_9.0.30729.1_none_bb1f6aa1308c35eb\ms vcr90d.dll'
    'desktop.exe': Loaded 'C:\Windows\System32\shimeng.dll'
    'desktop.exe': Loaded 'C:\Windows\System32\apphelp.dll'
    'desktop.exe': Loaded 'C:\Windows\AppPatch\AcLayers.dll'
    'desktop.exe': Loaded 'C:\Windows\System32\shell32.dll'
    'desktop.exe': Loaded 'C:\Windows\System32\shlwapi.dll'
    'desktop.exe': Loaded 'C:\Windows\System32\ole32.dll'
    'desktop.exe': Loaded 'C:\Windows\System32\oleaut32.dll'
    'desktop.exe': Loaded 'C:\Windows\System32\userenv.dll'
    'desktop.exe': Loaded 'C:\Windows\System32\mpr.dll'
    'desktop.exe': Loaded 'C:\Windows\System32\imm32.dll'
    'desktop.exe': Loaded 'C:\Windows\System32\msctf.dll'
    'desktop.exe': Loaded 'C:\Windows\System32\lpk.dll'
    'desktop.exe': Loaded 'C:\Windows\System32\usp10.dll'
    'desktop.exe': Loaded 'C:\Program Files\Google\Google Desktop Search\GoogleDesktopNetwork3.dll'
    'desktop.exe': Loaded 'C:\Windows\System32\ntmarta.dll'
    'desktop.exe': Loaded 'C:\Windows\System32\Wldap32.dll'
    'desktop.exe': Loaded 'C:\Windows\System32\psapi.dll'
    'desktop.exe': Loaded 'C:\Windows\System32\samlib.dll'
    'desktop.exe': Unloaded 'C:\Program Files\Google\Google Desktop Search\GoogleDesktopNetwork3.dll'
    'desktop.exe': Loaded 'C:\Program Files\Kaspersky Lab\Kaspersky Anti-Virus 2010\mzvkbd3.dll'
    'desktop.exe': Loaded 'C:\Windows\System32\acaptuser32.dll'
    'desktop.exe': Unloaded 'C:\Windows\System32\acaptuser32.dll'
    'desktop.exe': Loaded 'C:\Windows\winsxs\x86_microsoft.windows.common-controls_6595b64144ccf1df_6.0.6001.18000_none_5cdb aa5a083979cc\comctl32.dll'
    'desktop.exe': Loaded 'C:\Windows\System32\uxtheme.dll'
    'desktop.exe': Loaded 'C:\Program Files\IDM\Desktop SMS\oehook.dll', Binary was not built with debug information.
    'desktop.exe': Loaded 'C:\Windows\System32\clbcatq.dll'
    desktop.exe has triggered a breakpoint
    Microsoft Visual Studio C Runtime Library has detected a fatal error in desktop.exe.

    Press Break to debug the program or Continue to terminate the program.
    The program '[5396] desktop.exe: Native' has exited with code 0 (0x0).

    Can anybody give me a clue why binary cannot be built with debug information.

    I use NAG C library

    In the properties window of the program seems everything to be OK and the debug function should work properly....

    10x for any assistance

  2. #2
    Registered User
    Join Date
    Sep 2004
    Location
    California
    Posts
    3,264
    Your binary was built with debug information. 3 of the libraries your application links with do not have debug information though. You can check if there are debug versions of those libraries, or you could rebuild those 3 libraries in debug mode (if you have the source code for them).

    Chances are that you probably won't even need the debug info for those 3 libraries though. You would only need it if you wanted to step through functions implemented in those libraries with the debugger. Most of the time, you just want to step through your own application though.
    bit∙hub [bit-huhb] n. A source and destination for information.

  3. #3
    Registered User jeffcobb's Avatar
    Join Date
    Dec 2009
    Location
    Henderson, NV
    Posts
    875
    Geez and I thought binary *was* debug information!



    Jeff
    C/C++ Environment: GNU CC/Emacs
    Make system: CMake
    Debuggers: Valgrind/GDB

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Binary not built with debug info - why?
    By ulillillia in forum C Programming
    Replies: 15
    Last Post: 12-11-2008, 01:37 AM
  2. Replies: 10
    Last Post: 04-28-2008, 06:45 PM
  3. Logical errors with seach function
    By Taka in forum C Programming
    Replies: 4
    Last Post: 09-18-2006, 06:20 AM
  4. Print file in binary mode
    By vikernes in forum C++ Programming
    Replies: 6
    Last Post: 02-25-2006, 12:43 AM
  5. Replies: 4
    Last Post: 10-16-2001, 03:00 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21