Proposal: Add DPM Trace source-aware debugging#327
Open
djolertrk wants to merge 1 commit into
Open
Conversation
|
@djolertrk, your proposal is missing a Special Interest Group (SIG) label. Adding the right SIG label ensures the relevant domain experts can find and review your proposal, Check more about SIGs. Please add one of the following labels to this PR:
Not sure which one fits? Pick the closest match to your proposal's domain. You can add a label from the right sidebar under "Labels". |
Author
|
cc @mazurroman -- Walnut CEO |
1557639 to
2cc3e41
Compare
2 similar comments
2cc3e41 to
8eced39
Compare
8eced39 to
cda92ce
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Development Fund Proposal Submission
Proposal file:
/proposals/dpm-trace-source-aware-debugging.mdSummary
We propose to build
dpm trace, an open-source DPM plugin for inspecting and debugging Canton transactions.A developer should be able to start from an already committed update id, run a single CLI command, and get a readable transaction trace.
From there, the tool adds interactive inspection and source-aware debugging workflows. To make that reliable, we also propose compiler-generated debug metadata so transaction traces and debugger steps can link back to Daml source.
Proof of Concept Implementation
dpm trace: https://github.com/walnuthq/dpm-tracedamlc --debug-infosupport branch: https://github.com/walnuthq/daml/tree/feature/debug-infoChecklist
/proposals/Notes for Reviewers
We are open for discussion.