perl-dap-value
Shared Perl value model for debugger rendering.
This crate models the values that show up in the variables pane: scalars, arrays, hashes, refs, objects, tied values, truncation, and inspection errors. It is the value layer under the DAP transport types.
Boundaries
- Use
perl-dap-typesfor stack frames, sources, and variables. - Use
perl-dap-valuewhen you need to describe what a variable actually contains. - Use
perl-dapwhen you need to serialize that model into DAP responses.
Key type
PerlValue
Example
use PerlValue;
let value = object;
assert!;
assert_eq!;