Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [cdt-dev] Debugger Source File Lookup

I'm using gcc 4.3.2 with the -g option. I've also tried rebuilding with -ggdb option but have the same problem with both. I am not aware of any gcc option that "injects full path" debug info. More importantly, this appears to be an eclipse-specific problem because when I run command line gdb on the same executable, it breaks in the correct main.cpp.

On Mon, Mar 22, 2010 at 10:09 AM, Alena Laskavaia <elaskavaia.cdt@xxxxxxxxx> wrote:

Another thought - does you compiler inject full path? If not that will explain why it does not work.

Tim Black wrote:
I get the same result whether I check "Search for duplicate source files on the path" or don't. I have multiple main.cpp files under my eclipse project root and have never seen a dialog asking to resolve which one at debug time.

On Mon, Mar 22, 2010 at 7:59 AM, Mikhail Khodjaiants <mikhailkhod@xxxxxxxxxxxxxx> wrote:

Probably. Absolute Path Container was added by somebody else (Ken?) later.

_______________________________________________
cdt-dev mailing list
cdt-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/cdt-dev


_______________________________________________ cdt-dev mailing list cdt-dev@xxxxxxxxxxx https://dev.eclipse.org/mailman/listinfo/cdt-dev

_______________________________________________
cdt-dev mailing list
cdt-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/cdt-dev



Back to the top