Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
RE: [cdt-debug-dev] Absolute paths and source containers

We have done some changes in this area to tackle these issues as well. 
Right now we are in the process of upgrading our code to Callisto. 
I can attach our changes to the same 91808 if you think it can be of any
help. 
Dobrin

-----Original Message-----
From: cdt-debug-dev-bounces@xxxxxxxxxxx
[mailto:cdt-debug-dev-bounces@xxxxxxxxxxx] On Behalf Of Thomas Fletcher
Sent: Thursday, August 17, 2006 9:19 PM
To: CDT Debug developers list
Subject: RE: [cdt-debug-dev] Absolute paths and source containers

> -----Original Message-----
> From: cdt-debug-dev-bounces@xxxxxxxxxxx 
> [mailto:cdt-debug-dev-bounces@xxxxxxxxxxx] On Behalf Of Ken Ryall
> Sent: August 17, 2006 5:28 PM
> To: CDT Debug developers list
> Subject: [cdt-debug-dev] Absolute paths and source containers
> 
> Hi,
> 
> I've been working on a couple issues that appear when the 
> debugger back-end refers to files by absolute path and the 
> file's location can not be found in any of the available 
> source containers. Source containers provide a neat way to 
> locate files given some info (usually the file name) but if 
> the info is a full absolute path none of the source container 
> types will be able to "find" it.
> 
> There is some discussion of this in bug 91808 and a 
> subsequent workaround in CSourceLookupParticipant.java that 
> handles most cases but I thought a more comprehensive way to 
> address this in CDT would be to create a source container 
> that knows how to "find" files specified by their full 
> absolute path. Adding a AbsoluteSourceContainer removed the 
> need for the workaround, fixes my bug where breakpoints can 
> not be set in these files, and should cover additional cases 
> in the future.
> 
> This is working well it our testing and unless someone sees a 
> problem I'll commit it for CDT 3.1.1.

I'd love to see the patch just to get an idea of how you've made
it work.  Reading through 91808 the description it seems to be a
bit 'terse'.

Thanks, 
 Thomas ... not opposed to the idea.
_______________________________________________
cdt-debug-dev mailing list
cdt-debug-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/cdt-debug-dev


Back to the top