Code::Blocks Forums

User forums => Help => Topic started by: gaualex on November 12, 2010, 03:43:09 am

Title: Can't enable debugger
Post by: gaualex on November 12, 2010, 03:43:09 am
Hi all,

I cannot manage to enable the debugger.

I uninstalled and reinstalled everything and it still does not work.  Moreover, all the "Toolchain executables" are present in the "bin" directory.

Thanks in advance

Here is a screen grab showing what the problem is:

(http://i118.photobucket.com/albums/o120/Shittes/debug_disable.png)
Title: Re: Can't enable debugger
Post by: ollydbg on November 12, 2010, 04:10:18 am
suppose you use gdb under windows.
So, where is your gdb.exe? did you correctly configured it in:

compiler and debugger setting dialog->program files->debugger

then, it should be "gdb.exe" there.


Title: Re: Can't enable debugger
Post by: gaualex on November 12, 2010, 04:22:36 am
Hi,

Thanks for the quick reply.

Yes I am on Windows and more precisely on Win7 x64.

But like I wrote, all the "Toolchain executables" were checked and are in the bin directory including gdb.exe

Thanks
Title: Re: Can't enable debugger
Post by: ollydbg on November 12, 2010, 04:49:41 am
Hi,

Thanks for the quick reply.

Yes I am on Windows and more precisely on Win7 x64.

But like I wrote, all the "Toolchain executables" were checked and are in the bin directory including gdb.exe

Thanks
what is the  value in:
compiler and debugger setting dialog->Global compiler setting->compiler's installation directory
?

Can you directly run the gdb.exe from the window command line?




Title: Re: Can't enable debugger
Post by: gaualex on November 12, 2010, 04:58:43 am
(http://i118.photobucket.com/albums/o120/Shittes/compilers__debugger.png)

(http://i118.photobucket.com/albums/o120/Shittes/cmd_gdb.png)
Title: Re: Can't enable debugger
Post by: Jenna on November 12, 2010, 07:21:56 am
Do you use a project ?

Debugging single files without a project is not supported in C::B.
Title: Re: Can't enable debugger
Post by: gaualex on November 12, 2010, 07:26:32 am
Ok, it should be it.

I was trying to debug a single-file.

I will try in a project and come back.

Thanks
Title: Re: Can't enable debugger
Post by: gaualex on November 12, 2010, 07:44:19 am
It just worked, thanks a lot!!