Skip to content
CCPEDIAby Unity Nodes
Incoming#743 Pull requestWalnutRFP 19, DPM Components and Extension Ecosystem

Proposal: Versioned Debug Info Metadata for Daml

Opened 28-08-2026 by djolertrk, last activity 26d ago

  1. Incoming54 days so far28-08-2026
  2. Needs Championnot reached
  3. In Reviewnot reached
  4. Ready for Votenot reached
  5. Voting Livenot reached
  6. Approvednot reached
Waiting on
Nobody has picked it up
idle 26 days
Funding request
3,360,000 CC
Champion named in file
Curtis Hrischuk, Digital Asset (c***@digitalasset.com)
Duration
25 weeks of delivery and adoption, followed by 12 months of maintenance
Organization
Walnut
RFP or roadmap area
RFP 19, DPM Components and Extension Ecosystem

This proposal addresses RFP 19, DPM Components and Extension Ecosystem. Walnut will provide Daml debug info metadata, compiler support, and reusable DPM tooling for source-level debugging through dpm debug, dpm debug-info verify, and source links in dpm trace. Daml developers will be able to connect execution results and failures to source code. Tool authors will get a shared metadata format and reader library. Adoption includes at least three Canton developers or teams using the workflow and providing written feedback.

The draft format specification and its JSON Schema live alongside the prototype compiler.

Development Fund Proposal Submission

Proposal file:
/rfps/developer-experience-tooling-education/2026-08-Walnut-daml-debug-info-metadata.md

Applicant

Organization:
Walnut

Author / Primary Contact:
Djordje Todorovic (djordje@walnut.dev) Roman Mazur (roman@walnut.dev)

Champion:
Curtis Hrischuk, Digital Asset (curtis.hrischuk@digitalasset.com)


Proposal Classification

Proposal Type:

  • RFP-aligned proposal
  • Individual initiative

RFP / Roadmap Area:
RFP 19, DPM Components and Extension Ecosystem — Developer Experience, Tooling and Education.

Label: daml-tooling


Funding & Timeline

Total Funding Request:
3,360,000 CC

Project Duration:
18 months (6 months delivery, followed by a 12-month adoption and maintenance window)

Maximum Amount:
N/A

Maximum Duration:
N/A


Summary

When a Daml workflow fails on Canton, the developer sees an error message and a package id, not the line of Daml that failed. We will define a debug metadata format for Daml, make the compiler emit it, and build the tooling that reads it, including dpm debug, a source-level debugger. Putting that mapping in the compiler once means every Canton tool gets the same answer instead of each one guessing at it separately.


Submission Checklist

  • Full proposal file is included in this PR
  • Organization and primary contact identified
  • Champion identified or Needs Champion selected
  • RFP / roadmap alignment identified, if applicable
  • Total funding request provided
  • Project duration provided
  • Proposal is within any RFP maximum amount
  • Proposal is within any RFP maximum duration
  • Milestones and milestone funding are defined in the proposal
  • Acceptance criteria are based on ecosystem value
  • Architectural alignment is addressed

Milestones 6

  1. Specification and compiler improvements4 weeks from start
  2. Compiler and Daml Script emission8 weeks after Milestone 1 acceptance
  3. Verification and the reader library4 weeks after Milestone 2 acceptance
  4. Source-level debugging in dpm trace and dpm debug5 weeks after Milestone 3 acceptance
  5. Adoption4 weeks after Milestone 4 acceptance, plus support
  6. Maintenancea 12-month maintenance window following Milestone 5