搜索插件、代码仓与 APP 分类

插件详情v1.1.0

dap_adapters

Dart 调试适配器协议(DAP)适配器,用于将 DAP 协议转换为 Dart VM 服务协议。

AndroidiOSLinuxmacOSWindows
近 30 天下载
252万
喜欢数
1
Pub 分数
150

安装插件

flutter pub add dap_adapters

插件介绍

基于插件公开信息、社区数据与项目使用情况整理的选型参考。

DAP Adapters 是一个 Dart 包,它将调试适配器协议(DAP)与 Dart VM 服务协议相连接,实现跨各种开发环境的无缝调试。它将 DAP 请求转换为 VM 服务命令,使 VS Code 或 IntelliJ 等调试器能够与在 Android、iOS、Linux、macOS 和 Windows 上运行的 Dart 应用程序进行交互。该包对于构建或扩展基于 Dart 的 IDE 和编辑器中的调试工具至关重要。它确保了无论平台如何,都能提供一致的调试体验。适配器作为中介,使将 Dart 调试集成到现代工具链中变得更加容易。

适合场景

  • 将 Dart 调试功能集成到 IDE 中
  • 启用跨平台调试
  • 支持自定义调试器
  • 构建调试扩展
  • 将 DAP 客户端连接到 Dart VM

主要特点

  • 将 DAP 转换为 VM 服务
  • 跨平台支持
  • 实时调试集成
  • 可扩展的适配器架构
  • 与 Flutter 工具的内置兼容性

适合对象

  • IDE 插件开发者
  • 调试工具创建者
  • Flutter 扩展作者
  • Dart 语言服务器集成商
  • 平台特定的调试器

使用建议

  • 需要了解 DAP 和 VM Service 协议
  • 可能需要为自定义调试器进行额外设置
  • 依赖于 Dart SDK 版本的稳定性
  • 仅限 Dart/Flutter 调试场景
  • 不适用于运行时应用逻辑

原始 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).

Dart platforms illustration

License & patents

Dart is free and open source.

See LICENSE and PATENT_GRANT.

Using Dart

Visit dart.dev to learn more about the language, tools, and to find codelabs.

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).

Building Dart

If you want to build Dart yourself, here is a guide to getting the source, preparing your machine to build the SDK, and building.

There are more documents in our repo at docs.

Contributing to Dart

The easiest way to contribute to Dart is to file issues.

You can also contribute patches, as described in Contributing.

Roadmap

Future plans for Dart are included in the combined Dart and Flutter roadmap on the Flutter wiki.

所属分类

依赖

依赖清单 8 项

源码仓库

使用此插件的项目

暂无相关数据。

所在榜单