Solved

No symbols loaded.  How do I fix?

Posted on 2006-07-03
4
11,860 Views
Last Modified: 2012-08-13
I'm attempting to debug a program in MS Visual Studio but it keeps ignoring my breakpoints and gives the following.  Any idea what I'm doing wrong or how I should fix?

Project is compiled for debugging.

'sortAndFix.exe': Loaded 'C:\Programs\sortAndFix\debug\sortAndFix.exe', Symbols loaded.
'sortAndFix.exe': Loaded 'C:\WINDOWS\SYSTEM32\NTDLL.DLL', No symbols loaded.
'sortAndFix.exe': Loaded 'C:\WINDOWS\SYSTEM32\KERNEL32.DLL', No symbols loaded.
'sortAndFix.exe': Loaded 'C:\WINDOWS\SYSTEM32\ODBC32.DLL', No symbols loaded.
'sortAndFix.exe': Loaded 'C:\WINDOWS\SYSTEM32\MSVCRT.DLL', No symbols loaded.
'sortAndFix.exe': Loaded 'C:\WINDOWS\SYSTEM32\COMCTL32.DLL', No symbols loaded.
'sortAndFix.exe': Loaded 'C:\WINDOWS\SYSTEM32\ADVAPI32.DLL', No symbols loaded.
'sortAndFix.exe': Loaded 'C:\WINDOWS\SYSTEM32\RPCRT4.DLL', No symbols loaded.
'sortAndFix.exe': Loaded 'C:\WINDOWS\SYSTEM32\gdi32.dll', No symbols loaded.
'sortAndFix.exe': Loaded 'C:\WINDOWS\SYSTEM32\user32.dll', No symbols loaded.
'sortAndFix.exe': Loaded 'C:\WINDOWS\SYSTEM32\shell32.dll', No symbols loaded.
'sortAndFix.exe': Loaded 'C:\WINDOWS\SYSTEM32\shlwapi.dll', No symbols loaded.
'sortAndFix.exe': Loaded 'C:\WINDOWS\SYSTEM32\COMDLG32.DLL', No symbols loaded.
'sortAndFix.exe': Loaded 'C:\WINDOWS\WinSxS\x86_Microsoft.VC80.DebugCRT_1fc8b3b9a1e18e3b_8.0.50727.42_x-ww_f75eb16c\msvcp80d.dll', Symbols loaded.
'sortAndFix.exe': Loaded 'C:\WINDOWS\WinSxS\x86_Microsoft.VC80.DebugCRT_1fc8b3b9a1e18e3b_8.0.50727.42_x-ww_f75eb16c\msvcr80d.dll', Symbols loaded.
'sortAndFix.exe': Loaded 'C:\WINDOWS\WinSxS\x86_Microsoft.Windows.Common-Controls_6595b64144ccf1df_6.0.2600.2180_x-ww_a84f1ff9\COMCTL32.DLL', No symbols loaded.
'sortAndFix.exe': Loaded 'C:\WINDOWS\SYSTEM32\ODBCINT.DLL', Binary was not built with debug information.
'sortAndFix.exe': Loaded 'C:\WINDOWS\SYSTEM32\APPHELP.DLL', No symbols loaded.
'sortAndFix.exe': Loaded 'C:\WINDOWS\SYSTEM32\VERSION.DLL', No symbols loaded.
The program '[3460] sortAndFix.exe: Native' has exited with code 0 (0x0).
0
Comment
Question by:turn123
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
4 Comments
 
LVL 11

Assisted Solution

by:Jase-Coder
Jase-Coder earned 125 total points
ID: 17030419
No symbols loaded means the DLLs have no debug information, meaning they are release versions.

were are your breakpoints??

If your tyring to step into a function, which is in one of the DLLs without symbols then you will need to acquire the debug versions of the DLLs and I dont think you can get debug versions of the above dlls.
0
 
LVL 48

Accepted Solution

by:
AlexFM earned 125 total points
ID: 17030443
I don't see any problem here.

sortAndFix.exe - Symbols loaded
This is all you need to debug the program. Symbols are not loaded for system libraries, this prevents debugging library code, but you don't need this.

What is program type? Set breakpoint to the beginning of the program, does debugger break on it?
0
 
LVL 11

Author Comment

by:turn123
ID: 17030628
command line exe

It will break for the first few lines but after that it refuses to break for anything.

Mabey I'm missunderstanding but I thought it should break for a line like
int                  date = 0;
0
 
LVL 11

Author Comment

by:turn123
ID: 17030642
Oops I found the problem.  I had the program exit at an point before if something didn't happen which is why it wasn't hitting by other breakpoints.

Thanks for the help.
0

Featured Post

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

What is C++ STL?: STL stands for Standard Template Library and is a part of standard C++ libraries. It contains many useful data structures (containers) and algorithms, which can spare you a lot of the time. Today we will look at the STL Vector. …
Basic understanding on "OO- Object Orientation" is needed for designing a logical solution to solve a problem. Basic OOAD is a prerequisite for a coder to ensure that they follow the basic design of OO. This would help developers to understand the b…
The goal of the video will be to teach the user the difference and consequence of passing data by value vs passing data by reference in C++. An example of passing data by value as well as an example of passing data by reference will be be given. Bot…
The viewer will learn additional member functions of the vector class. Specifically, the capacity and swap member functions will be introduced.

617 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question