Author Topic: Debugger under linux ?  (Read 2915 times)

tomitom007

  • Guest
Debugger under linux ?
« 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.

Offline itzjac

  • Single posting newcomer
  • *
  • Posts: 4
Re: Debugger under linux ?
« Reply #1 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:
« Last Edit: August 09, 2008, 02:11:40 am by itzjac »