perl-dap-stack
Stack trace parsing and frame classification for the Perl Debug Adapter Protocol.
Overview
This crate provides types and utilities for parsing Perl debugger stack trace output into DAP-compatible structures and classifying frames as user code, library code, or core Perl internals.
Public API
StackFrame/Source-- DAP-compatible model types with builder methodsStackFramePresentationHint/SourcePresentationHint-- UI rendering hintsStackTraceProvider-- trait for stack trace retrieval implementationsPerlStackParser-- parses Perl debugger output (Tcommand, context lines, eval frames)StackParseError-- error type for parse failuresFrameClassifier/PerlFrameClassifier-- classifies frames by origin (user, library, core, eval)FrameCategory-- classification result enum
Workspace Role
Internal support crate consumed by perl-dap request handlers. Provides the
shared stack frame model and debugger output parsing used during debug sessions.
License
MIT OR Apache-2.0