Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(compartment-mapper): Add hooks for sourceURL #932

Merged
merged 1 commit into from Nov 6, 2021

Conversation

kriskowal
Copy link
Member

Adds hooks to archive production and consumption for reading and writing source locations, such that other tools yet to be written can use these hooks to provide fully qualified local debug source URLs. Archive creation functions now accept a captureSourceLocation(compartmentName, moduleSpecifier, sourceLocation) hook and archive parsing functions accept computeSourceLocation(compartmentName, moduleSpecifier).

Adds hooks to archive production and consumption for reading and writing source locations, such that other tools yet to be written can use these hooks to provide fully qualified local debug source URLs.  Archive creation functions now accept a `captureSourceLocation(compartmentName, moduleSpecifier, sourceLocation)` hook and archive parsing functions accept `computeSourceLocation(compartmentName, moduleSpecifier)`.
@kriskowal kriskowal force-pushed the agoric-sdk-3899-kris-source-url branch from 246e695 to 6928e09 Compare November 6, 2021 02:01
Copy link
Member

@michaelfig michaelfig left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM! Terrific! Top-notch! Tantalising!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants