Skip to content
CCPEDIAby Unity Nodes
Approved#327 Pull request

Proposal: Add DPM Trace source-aware debugging

Opened 13-05-2026 by djolertrk, last activity 23d ago

  1. Incoming68 days13-05-2026
  2. Ready for Vote9 days20-07-2026
  3. Voting Live8 days29-07-2026
  4. Approvedsince 06-08-2026
Funding request
1,900,000 CC
Champion named in file
Need Champion
Discussion
52 messages
5 people

Development Fund Proposal Submission

Proposal file:
/proposals/dpm-trace-source-aware-debugging.md


Summary

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


Checklist

  • Proposal file added under /proposals/
  • Milestones and funding amounts defined
  • Acceptance criteria included
  • Alignment with Canton priorities described

Notes for Reviewers

We are open for discussion.

Milestones 4

  1. Transaction Trace CLI4 weeks from start
  2. Interactive Transaction Visualizer4 weeks after Milestone 1 acceptance
  3. Prepared Transactions, Failed Submissions, and Diff Workflows5 weeks after Milestone 2 acceptance
  4. Adoption and Ecosystem Validation4 weeks after Milestone 3 acceptance