By the way, launching code::Blocks from the terminal as root, I am able to launch the debugging sesion.. But adding a breakpoint results in the following message:
** (nautilus:20909): WARNING **: Unable to add monitor: Operation not supported
Nautilus-Share-Message: Called "net usershare info" but it failed: 'net usershare' returned error 255: net usershare: cannot open usershare directory /var/lib/samba/usershares. Error No such file or directory
Please ask your system administrator to enable user sharing.
I am not even sure what it means...