Code::Blocks Forums

User forums => Help => Topic started by: tomitom007 on April 17, 2008, 11:16:12 pm

Title: Debugger under linux ?
Post by: tomitom007 on April 17, 2008, 11:16:12 pm
Hello,
I've recently switched from windows to Ubuntu, and I still use code::blocks, but while there was no problem under windows, one appeared under ubuntu.
When I try to debug a project, wherever breakpoints may be, and using the -g flag, the console window appear an instant and then dissappear. I have to kill both my debbuged app and gdb to continue using code::blocks.
Any solutions ?
Thanks, bye.
Title: Re: Debugger under linux ?
Post by: itzjac on August 09, 2008, 02:07:43 am
Hi it seems that you are forcing parameters in the Build options menu, I recommend you to create a project with the default Release and Debug versions, the Debug version has a correct configuration in order to run your code step by step or as you wish . Also check if you have already installed the GDB properly, the linux debuger (type "man gdb" to check is there is something of that in your system) I don't work with Ubuntu, I already work with Suse and I don't have any problems.  :shock: