Hi,
I have just spent a couple of hours trying to solve a problem I thought was difficulties with debugging shared object files on Linux, i.e. how to set the proper g++ options. It turned out to be something completely different.
I have a tiny test application of console type that uses a class in a shared object. When I was debugging this under Linux Kubuntu 13.10 amd64 using self-compiled Code::Blocks svn 9492 (from Jens), I was able to step through lines in the main program, but unable to step into any function call from the shared object project, and I could not figure out why. All it said was 'no stack'. After checking, the g++ options seemed just fine. I tried debugging another application with the same debugger settings, and to my surprise debugging shared object files worked fine. The difference was that it worked only with a GUI application.
When running my console application in release mode, I noticed it said
Executing: xterm -T filepicker_console -e /usr/bin/cb_console_runner
with an error about xterm
Then I realised what the problem was: the package xterm was not installed on this machine! (new machine). After installing xterm, debugging shared object files from console application works just fine. Maybe it is an idea to somehow let Code::Blocks depend on xterm, so that it is always installed and this problem does not happen to others?