[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
Re: [cdt-dev] Debugger Source File Lookup
|
Tim, you have a small test case that works as expected. You have your
complicated scenario that doesn't. We're trying to figure out what's
special about your case. You now know where the search happens in the
code (the breakpoint I mentioned). I really think you should now step
through the working and the non-working cases (perhaps even in parallel),
and the problem will make itself apparent. Ask questions along the way if
you get stuck, but I think you have most of what you need to crack this
case.
John
At 03:53 PM 3/19/2010, Tim Black wrote:
No, I was using 3.6M5. I just
download 3.6M6 and CDT HEAD builds fine. Thanks. Then I repeated my test
and got the same results. This was using CDI Launcher, gdb/mi debugger,
Default Source Lookup Path, and "Search for duplicate source files
on the path" and Debugger - "Use full file path to set
breakpoints" checked.
CSourceLookupDirector(AbstractSourceLookupDirector).getSourceElement(Object)
returns the wrong path, and then the debugger opens the wrong
file.
On Fri, Mar 19, 2010 at 11:11 AM, James Blackburn
<jamesblackburn@xxxxxxxxx
> wrote:
- On 19 March 2010 18:04, Tim Black
<timblaktu@xxxxxxxxx>
wrote:
- > I haven't because every time I have gotten CDT from HEAD over
the last
- > couple weeks, I got build errors. I just updated all CDT
projects in my
- > workspace again, and I have 6 errors in org.eclipse.cdt.dsf.ui.
So I looked
- > in Versions and see a tag called v201003191033 - Looks like a
tag made about
- > 20 minutes ago. I assumed these tags would be a buildable
snapshot of the
- > repo, but I got this tag and have thousands of errors upon
rebuilding all
- > .psf projects. Has the .psf file changed? How would you suggest
a person try
- > out CDT 7.0 if HEAD and Version tags won't build?
- I haven't had any problems with HEAD. Are you using the latest
3.6M6
- platform milestone?
-
http://download.eclipse.org/eclipse/downloads/drops/S-3.6M6-201003121448/index.php
- Cheers,
- James
- >
- > On Fri, Mar 19, 2010 at 9:36 AM,
<ken.ryall@xxxxxxxxx>
wrote:
- >>
- >> Tim,
- >>
- >> I dont recall, have you tried this with a CDT 7.0
build?
- >>
- >> - Ken
- >>
- >>
- >> From: ext Tim Black
<timblaktu@xxxxxxxxx>
- >> Reply-To: "CDT General developers list."
<cdt-dev@xxxxxxxxxxx>
- >> Date: Fri, 19 Mar 2010 17:31:27 +0100
- >> To: "CDT General developers list."
<cdt-dev@xxxxxxxxxxx>
- >> Subject: Re: [cdt-dev] Debugger Source File Lookup
- >>
- >> To be clear, this result was with "Search for duplicate
source files on
- >> the path" and Debugger - "Use full file path to
set breakpoints" checked in
- >> the Launch Configuration. (It's only an option in the CDI
launcher)
- >>
- >> _______________________________________________
- >> 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
_______________________________________________
cdt-dev mailing list
cdt-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/cdt-dev