Skip to main content



      Home
Home » Language IDEs » C / C++ IDE (CDT) » Problem with CDT debugging
Problem with CDT debugging [message #184564] Tue, 13 February 2007 17:29 Go to next message
Eclipse UserFriend
Originally posted by: cjashfor.linux.ibm.com

Hi,

I've run into a situation where I'm trying to set a breakpoint on a line
in one source file, but the CDT is getting confused about where to set
it because there is another source file of the same name in another
folder of the same project.

For example, I try to set a breakpoint by right-clicking on line 45 of
ppc64/Gstep.c and select Toggle Breakpoint, but the debugger generates
the error:

No line 45 in "dwarf/Gstep.c".

Note that the folder names are different.

Sometimes I am able to get it to set breakpoints in the desired
function, and I'm not sure why it works sometimes and not others.

Has anyone here seen this?

Thanks for reading this,

- Corey

--
Corey Ashford
Software Engineer
IBM Linux Technology Center, Linux Toolchain
Beaverton, OR
503-578-3507
cjashfor@us.ibm.com
Re: Problem with CDT debugging [message #184572 is a reply to message #184564] Wed, 14 February 2007 04:26 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: deliciap.cradle.com

Not an answer, but something related.

The error parser also gets confused with same filenames belonging to
different directories.
Probably the same (buggy) routine for 'getFileName' is used in the debugger.
Look at: https://bugs.eclipse.org/bugs/show_bug.cgi?id=108489

Regards,
Delicia.
Re: Problem with CDT debugging [message #184672 is a reply to message #184572] Wed, 14 February 2007 14:51 Go to previous message
Eclipse UserFriend
Originally posted by: cjashfor.linux.ibm.com

Delicia wrote:
> Not an answer, but something related.
>
> The error parser also gets confused with same filenames belonging to
> different directories.
> Probably the same (buggy) routine for 'getFileName' is used in the debugger.
> Look at: https://bugs.eclipse.org/bugs/show_bug.cgi?id=108489
>
> Regards,
> Delicia.
>
>

Thank you, Delicia, that does look like it's related.

- Corey

--
Corey Ashford
Software Engineer
IBM Linux Technology Center, Linux Toolchain
Beaverton, OR
503-578-3507
cjashfor@us.ibm.com
Previous Topic:Code Completion prerequisites
Next Topic:Outline: want more entries: Howto?
Goto Forum:
  


Current Time: Wed Jul 23 03:58:35 EDT 2025

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

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

Back to the top