Code::Blocks Forums
User forums => Using Code::Blocks => Topic started by: Super_Stinger on June 30, 2014, 03:23:07 pm
-
Hi all,
I am attempting to debug an SDL application by placing breakpoints, but the message "( no debugging symbols found )" appears from the debugger.
Ive placed breakpoints in a normal console application ( not linked/compiled with SDL ) and they break the program fine, however, when I compile and SDL 2 application, I recieve the above error message.
Few Notes:
'Produce debugging symbols [-g]' is ticked in global settings
'Strip all symbols from binary ( minimizes size ) [-s]' is NOT ticked in global settings
Not sure what else it could be...
Many thanks,
Super_Stinger
-
Are you sure the SDL libraries are built with '-g' option apart from your application? Or if you are not building the SDL yourself, are you using the debug version of SDL?
Edit: And please add OS, CB, SDL version info so the devs might help if that's a CB problem.
-
Yep, will Add Info:
Windows 7
Codeblocks 10.05 ( Will upgrade, but dont think this would be the problem )
SDL 2.0.3
I am using the SDL development libraries from:
https://www.libsdl.org/download-2.0.php
( SDL2-devel-2.0.3-mingw.tar.gz (MinGW 32/64-bit) )
-
Hi all again, I think I've found the problem
It seems that because my CodeBlocks was out of date ( 10.05 ), It did not debug properly.
I updated ( to 13.12 ) and everything seems to work fine! :)