Proposal: Add DPM Trace source-aware debugging
OPENPull Request
daml-toolingSecurity/needs reviewneeds-champion
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
- [x] Proposal file added under
/proposals/ - [x] Milestones and funding amounts defined
- [x] Acceptance criteria included
- [x] Alignment with Canton priorities described
---
Notes for Reviewers
We are open for discussion.