-
Notifications
You must be signed in to change notification settings - Fork 14
Open
Description
In some cases, we may not know in advance all the script URIs we may be accessing, so it may not be possible to provide an exhaustive map from script URIs to filesystem paths. Instead, we may want to have some pieces of logic that can do the mapping between script URIs and filesystem paths on the fly.
It may be good to add an API to EpsilonDebugAdapter that supports objects that have this logic. For instance, they could implement a Java interface with two methods:
interface IURIPathMapper {
Path mapURI(URI uri);
URI mapPath(Path path);
}
We need a bidirectional mapping as we do URI-to-Path when we hit a breakpoint, and Path-to-URI when we resolve the breakpoints requested by the client.
Metadata
Metadata
Assignees
Labels
No labels