turn123
asked on
No symbols loaded. How do I fix?
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\de bug\sortAn dFix.exe', Symbols loaded.
'sortAndFix.exe': Loaded 'C:\WINDOWS\SYSTEM32\NTDLL .DLL', No symbols loaded.
'sortAndFix.exe': Loaded 'C:\WINDOWS\SYSTEM32\KERNE L32.DLL', No symbols loaded.
'sortAndFix.exe': Loaded 'C:\WINDOWS\SYSTEM32\ODBC3 2.DLL', No symbols loaded.
'sortAndFix.exe': Loaded 'C:\WINDOWS\SYSTEM32\MSVCR T.DLL', No symbols loaded.
'sortAndFix.exe': Loaded 'C:\WINDOWS\SYSTEM32\COMCT L32.DLL', No symbols loaded.
'sortAndFix.exe': Loaded 'C:\WINDOWS\SYSTEM32\ADVAP I32.DLL', No symbols loaded.
'sortAndFix.exe': Loaded 'C:\WINDOWS\SYSTEM32\RPCRT 4.DLL', No symbols loaded.
'sortAndFix.exe': Loaded 'C:\WINDOWS\SYSTEM32\gdi32 .dll', No symbols loaded.
'sortAndFix.exe': Loaded 'C:\WINDOWS\SYSTEM32\user3 2.dll', No symbols loaded.
'sortAndFix.exe': Loaded 'C:\WINDOWS\SYSTEM32\shell 32.dll', No symbols loaded.
'sortAndFix.exe': Loaded 'C:\WINDOWS\SYSTEM32\shlwa pi.dll', No symbols loaded.
'sortAndFix.exe': Loaded 'C:\WINDOWS\SYSTEM32\COMDL G32.DLL', No symbols loaded.
'sortAndFix.exe': Loaded 'C:\WINDOWS\WinSxS\x86_Mic rosoft.VC8 0.DebugCRT _1fc8b3b9a 1e18e3b_8. 0.50727.42 _x-ww_f75e b16c\msvcp 80d.dll', Symbols loaded.
'sortAndFix.exe': Loaded 'C:\WINDOWS\WinSxS\x86_Mic rosoft.VC8 0.DebugCRT _1fc8b3b9a 1e18e3b_8. 0.50727.42 _x-ww_f75e b16c\msvcr 80d.dll', Symbols loaded.
'sortAndFix.exe': Loaded 'C:\WINDOWS\WinSxS\x86_Mic rosoft.Win dows.Commo n-Controls _6595b6414 4ccf1df_6. 0.2600.218 0_x-ww_a84 f1ff9\COMC TL32.DLL', No symbols loaded.
'sortAndFix.exe': Loaded 'C:\WINDOWS\SYSTEM32\ODBCI NT.DLL', Binary was not built with debug information.
'sortAndFix.exe': Loaded 'C:\WINDOWS\SYSTEM32\APPHE LP.DLL', No symbols loaded.
'sortAndFix.exe': Loaded 'C:\WINDOWS\SYSTEM32\VERSI ON.DLL', No symbols loaded.
The program '[3460] sortAndFix.exe: Native' has exited with code 0 (0x0).
Project is compiled for debugging.
'sortAndFix.exe': Loaded 'C:\Programs\sortAndFix\de
'sortAndFix.exe': Loaded 'C:\WINDOWS\SYSTEM32\NTDLL
'sortAndFix.exe': Loaded 'C:\WINDOWS\SYSTEM32\KERNE
'sortAndFix.exe': Loaded 'C:\WINDOWS\SYSTEM32\ODBC3
'sortAndFix.exe': Loaded 'C:\WINDOWS\SYSTEM32\MSVCR
'sortAndFix.exe': Loaded 'C:\WINDOWS\SYSTEM32\COMCT
'sortAndFix.exe': Loaded 'C:\WINDOWS\SYSTEM32\ADVAP
'sortAndFix.exe': Loaded 'C:\WINDOWS\SYSTEM32\RPCRT
'sortAndFix.exe': Loaded 'C:\WINDOWS\SYSTEM32\gdi32
'sortAndFix.exe': Loaded 'C:\WINDOWS\SYSTEM32\user3
'sortAndFix.exe': Loaded 'C:\WINDOWS\SYSTEM32\shell
'sortAndFix.exe': Loaded 'C:\WINDOWS\SYSTEM32\shlwa
'sortAndFix.exe': Loaded 'C:\WINDOWS\SYSTEM32\COMDL
'sortAndFix.exe': Loaded 'C:\WINDOWS\WinSxS\x86_Mic
'sortAndFix.exe': Loaded 'C:\WINDOWS\WinSxS\x86_Mic
'sortAndFix.exe': Loaded 'C:\WINDOWS\WinSxS\x86_Mic
'sortAndFix.exe': Loaded 'C:\WINDOWS\SYSTEM32\ODBCI
'sortAndFix.exe': Loaded 'C:\WINDOWS\SYSTEM32\APPHE
'sortAndFix.exe': Loaded 'C:\WINDOWS\SYSTEM32\VERSI
The program '[3460] sortAndFix.exe: Native' has exited with code 0 (0x0).
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
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.
Thanks for the help.
ASKER
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;