perl-dap-types
Shared DAP session model types for Perl debugging.
This crate is the transport-friendly data layer behind the debugger stack. It
keeps stack frames, sources, and variables in one small package so perl-dap
and tests can share the same shapes without pulling in the runtime.
Boundaries
- Use this crate for shared DAP payloads and fixtures.
- Use
perl-dapfor the wire protocol and server behavior. - Use
perl-dap-valuewhen you need the underlying Perl value model, not the DAP transport shape. - Use
perl-dap-platformandperl-dap-shellfor launch-time environment and command-line preparation.
Key types
StackFrameSourceVariable
Example
use ;
let source = new;
let frame = new.with_column;
let variable = Variable ;
assert_eq!;
assert_eq!;