Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » C / C++ IDE (CDT) » Debugging problem - need to make a clean build every time
Debugging problem - need to make a clean build every time [message #117459] Thu, 26 August 2004 09:36 Go to next message
Eclipse UserFriend
Originally posted by: aids.programmer.net

Hi,

I have got a strange problem with CDT 2.0.
In order to debug my project (standard make project) I need to make a clean
build every time.
If I don't do it debugger just skips source lines.

I am running RedHat Linux 9.0, gcc 3

Any ideas?

With regards,
Aidar Talibzhanov
Re: Debugging problem - need to make a clean build every time [message #117499 is a reply to message #117459] Thu, 26 August 2004 12:05 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: e.egberts.tantec.de

> I have got a strange problem with CDT 2.0.
> In order to debug my project (standard make project) I need to make a clean
> build every time.
> If I don't do it debugger just skips source lines.
>
> I am running RedHat Linux 9.0, gcc 3
>
> Any ideas?

I know this problem, when "Build Automatically" is disabled. For
debugging I make a clean build, and enable BA, while doing little
changes for debugging.

But there is a little problem - when changing more than one files and
saving them all at once, the build starts after saving the first file
and saving further files delayed until the first build is ready. The
same with "Strg + B" Build. I'm very good in disabling and enabling this
option... ;o)

HTH,

Ed
Re: Debugging problem - need to make a clean build every time [message #117685 is a reply to message #117499] Fri, 27 August 2004 10:12 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: aids.programmer.net

Unfortunatelly your answer didn't help :(
even with "Build automatically" option enabled and changing/saving only one
file at a time
I still need to make a clean build before debugging.
I'd better go switch back to Windows, at least build/debug cycle there is
shorter.

Aidar



"Edzard Egberts" <e.egberts@tantec.de> wrote in message
news:cgkjfr$cob$1@eclipse.org...
> > I have got a strange problem with CDT 2.0.
> > In order to debug my project (standard make project) I need to make a
clean
> > build every time.
> > If I don't do it debugger just skips source lines.
> >
> > I am running RedHat Linux 9.0, gcc 3
> >
> > Any ideas?
>
> I know this problem, when "Build Automatically" is disabled. For
> debugging I make a clean build, and enable BA, while doing little
> changes for debugging.
>
> But there is a little problem - when changing more than one files and
> saving them all at once, the build starts after saving the first file
> and saving further files delayed until the first build is ready. The
> same with "Strg + B" Build. I'm very good in disabling and enabling this
> option... ;o)
>
> HTH,
>
> Ed
Re: Debugging problem - need to make a clean build every time [message #117697 is a reply to message #117685] Fri, 27 August 2004 11:14 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: johan.nosp.m.appeal.se

AIDS wrote:
> I'd better go switch back to Windows, at least build/debug cycle there is
> shorter.

If you already have the CDT working under Windows, can't you just compare your
settings on Windows with the ones on Linux and figure it out from there?

//Johan
Re: Debugging problem - need to make a clean build every time [message #117709 is a reply to message #117697] Fri, 27 August 2004 11:29 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: aids.programmer.net

I do not use Eclipse/CDT on Windows, I use MS Visual C++ 7.1
Anyway my current project is a cross-platform library and it works under
Windows and Linux.

"Johan Walles" <johan.nosp@m.appeal.se> wrote in message
news:cgn4u7$bev$1@eclipse.org...
> AIDS wrote:
> > I'd better go switch back to Windows, at least build/debug cycle there
is
> > shorter.
>
> If you already have the CDT working under Windows, can't you just compare
your
> settings on Windows with the ones on Linux and figure it out from there?
>
> //Johan
Re: Debugging problem - need to make a clean build every time [message #117732 is a reply to message #117685] Fri, 27 August 2004 13:16 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: e.egberts.tantec.de

> Unfortunatelly your answer didn't help :(

>>>I am running RedHat Linux 9.0, gcc 3

and which version of GDB? I had some problems, until switching to
version 6.0 - maybe that helps.
Re: Debugging problem - need to make a clean build every time [message #118344 is a reply to message #117732] Tue, 31 August 2004 15:40 Go to previous message
Eclipse UserFriend
Originally posted by: aids.programmer.net

Just upgraded GDB to version 6.2 (previous version -> 5.3)
Doesn't work. Again to be able to debug I need to make a clean build :(


"Edzard Egberts" <e.egberts@tantec.de> wrote in message
news:cgnc09$o42$1@eclipse.org...
> > Unfortunatelly your answer didn't help :(
>
> >>>I am running RedHat Linux 9.0, gcc 3
>
> and which version of GDB? I had some problems, until switching to
> version 6.0 - maybe that helps.
Previous Topic:Debugger Perspective - Watch Format Binary
Next Topic:How to get folder of current project
Goto Forum:
  


Current Time: Thu Dec 26 22:20:33 GMT 2024

Powered by FUDForum. Page generated in 0.04330 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top