News:

As usual while waiting for the next release - don't forget to check the nightly builds in the forum.

Main Menu

Can't enable debugger

Started by gaualex, November 12, 2010, 03:43:09 AM

Previous topic - Next topic

gaualex

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:


ollydbg

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.


If some piece of memory should be reused, turn them to variables (or const variables).
If some piece of operations should be reused, turn them to functions.
If they happened together, then turn them to classes.

gaualex

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

ollydbg

Quote from: 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
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?




If some piece of memory should be reused, turn them to variables (or const variables).
If some piece of operations should be reused, turn them to functions.
If they happened together, then turn them to classes.

gaualex


Jenna

Do you use a project ?

Debugging single files without a project is not supported in C::B.

gaualex

Ok, it should be it.

I was trying to debug a single-file.

I will try in a project and come back.

Thanks

gaualex

It just worked, thanks a lot!!