dap 패키지는 디버그 어댑터 프로토콜(DAP) 사양에서 생성된 Dart 클래스와 코드를 제공하여 Dart 및 Flutter 도구에 디버깅 기능을 원활하게 통합할 수 있도록 합니다. 디버거와 디버그 어댑터 간의 표준화된 통신을 지원하여 플랫폼 간 호환성을 보장합니다. DAP 준수 디버거를 구현하거나 상호 작용하기 위해 필요한 모든 유형과 구조가 포함되어 있습니다. 주로 Dart 생태계 내에서 디버깅 도구를 개발하거나 확장하는 개발자를 위한 것입니다.
사용 사례
사용자 정의 디버그 어댑터 구현
IDE에 DAP 통합
Flutter용 디버깅 확장 기능 만들기
크로스 플랫폼 디버깅 활성화
원격 디버깅 워크플로우 지원
주요 기능
공식 DAP 사양에서 생성됨
디버그 프로토콜 메시지에 대한 완전한 타입 안정성
크로스 플랫폼 지원
내장된 직렬화/역직렬화
도구 및 IDE 통합을 위한 설계
적합한 대상
Dart/Flutter 도구 개발자
IDE 플러그인 제작자
디버깅 프레임워크 빌더
플랫폼별 디버거 구현자
고려 사항
주로 고급 도구 사용을 위해
DAP 프로토콜에 대한 이해 필요
최종 사용자 애플리케이션용으로 의도되지 않음
소스 코드 외에 문서가 제한적
원본 README
연결된 소스 저장소의 README 원문 스냅샷입니다. 최신 내용은 저장소에서 확인하세요.
Dart
An approachable, portable, and productive language for high-quality apps on any platform
Dart is:
Approachable:
Develop with a strongly typed programming language that is consistent,
concise, and offers modern language features like null safety and patterns.
Portable:
Compile to ARM, x64, or RISC-V machine code for mobile, desktop, and backend.
Compile to JavaScript or WebAssembly for the web.
Productive:
Make changes iteratively: use hot reload to see the result instantly in your running app.
Diagnose app issues using DevTools.
Dart's flexible compiler technology lets you run Dart code in different ways,
depending on your target platform and goals:
Dart Native: For programs targeting devices (mobile, desktop, server, and more),
Dart Native includes both a Dart VM with JIT (just-in-time) compilation and an
AOT (ahead-of-time) compiler for producing machine code.
Dart Web: For programs targeting the web, Dart Web includes both a development time
compiler (dartdevc) and a production time compiler (dart2js).
Browse pub.dev for more packages and libraries contributed
by the community and the Dart team.
Our API reference documentation is published at api.dart.dev,
based on the stable release. (We also publish docs from our
beta and dev channels,
as well as from the primary development branch).