#327Approved Pull Request
Proposal: Add DPM Trace source-aware debugging
djolertrk13-05-2026Last activity 3mo ago
daml-toolingSecurity/needs reviewApproved
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
dpm trace: https://github.com/walnuthq/dpm-trace- Initial
damlc --debug-infosupport branch: https://github.com/walnuthq/daml/tree/feature/debug-info
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.