Problem with CDT debugging [message #184564] |
Tue, 13 February 2007 17:29  |
Eclipse User |
|
|
|
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 #184672 is a reply to message #184572] |
Wed, 14 February 2007 14:51  |
Eclipse User |
|
|
|
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
|
|
|
Powered by
FUDForum. Page generated in 0.26075 seconds