User forums > Help

Something is wrong with the debugger

(1/2) > >>

klassikarn:
Hi all!

First of, I really tried to watch through the forum, but could not find my particulare problem, but if it was out there, sorry I did not find it.

My problem is that I can not run Code::block with the debugger on my laptop, while it works with my stationary.
I use google drive for saving the files, so that I can work with my projects, regardless to which computer I am on.

BUT, for some reason the debugger does not work on my laptop.

The program runs perfectly when I press F9, but if I press F8, this error occured.

Compiling: main.cpp
mingw32-g++.exe: CreateProcess: No such file or directory
Process terminated with status 1 (0 minutes, 0 seconds)
0 errors, 0 warnings

It is not even whining about the gdb.exe, so it seems like when I try to run the debugger it links to somewhere else ?
I tried to look through the program to find some kind of linking, but could not find it (except in settings/compiler and debugger/global compiler settings/toolchain executables/)
And I have installed the debugger, and it is situated in C:\program files\codeblocks\MinGW\bin (gdb.exe)
And that is where the "Compiler's installation directory" is linked to (except the bin then ofcourse).

The selected compiler I use is GNU GCC Compiler and my computer is running win xp.

Can there be somekind of problem that I try to run them on both computers (not on the same time ofcourse)
I thought that you could have the settings in the program, not the file ?
And since the build do work, I do not know why the debugger does not.

I tried to add additional path under toolchain executables but nothing changed.
And I've googled the internet and this forum, without finding someone with the same problem.
So as a last resort I signed up and made this post =)

Please tell me if you need some additional information to look into the matter.

All help is warmly welcome =)

Best Regards

oBFusCATed:
Can you try first with an C::B 12.11 and newer GCC and GDB?

p.s. Please read the rules and provide the required information. Currently it is missing.

Jenna:
I guess C::B tries to run MinGW, because "Auto build project if it is not uptodate" is checked in debugger settings.
This key is named slightly different in older revisions of C::B, if I remember correctly (can not check nat the moment, not at home).

klassikarn:
Sorry oBFusCATed,

But I have read them, and I am not totally sure what you had in mind ?

I'm running the version 10.05 of codeblocks and have 6.8 gbd.

Could you please be more specific in what I have missed out ?

Best Regards

Jenna:

--- Quote from: klassikarn on December 11, 2012, 10:43:28 am ---Could you please be more specific in what I have missed out ?

--- End quote ---
E.g. posting which version of C::B you use, which gdb-version, which MinGW version ...

Navigation

[0] Message Index

[#] Next page

Go to full version