dap

1.4.0

A package of classes that are generated from the DAP specifications along with their generating code.

Download archive

Readme

This is a package of classes that are generated from the DAP specifications along with their generating code.

tool/external_dap_spec/debugAdapterProtocol.json is an unmodified copy of the DAP Specification, downloaded from:

https://raw.githubusercontent.com/microsoft/debug-adapter-protocol/gh-pages/debugAdapterProtocol.json

This accompanying file is the version of the specification that was used to generate a portion of the Dart code used to support the protocol.

To regenerate the generated code, run the script in "tool/dap/generate_all.dart" with no arguments. To download the latest version of the specification before regenerating the code, run the same script with the "--download" argument.

More information on Dart support for DAP is available here.

Changelog

1.4.0

  • Updated all generated classes using the latest published version of the DAP spec.

1.3.0

  • Add showToUser field to DebugAdapterException to specify which errors should be shown to users.

1.2.0

  • Added DartInitializeRequestArguments, a subclass of InitializeRequestArguments that supports a custom flag supportsDartUris for informing the debug adapter that the client supports using URIs in places that might usually be file paths (such as stackTraceRequest). Setting this flag indicates that the client supports file: URIs and also any custom-scheme URIs whose content can be provided by the analysis server from the matching Dart SDK.

1.1.0

  • Updated all generated classes using the latest published version of the DAP spec.

1.0.0

  • Moved DAP classes from package:dds into a standalone package.

Installing

export PUB_HOSTED_URL=https://pub.mirror.p-hatan.com
flutter pub add dap
pubspec.yaml
name: dap
version: 1.4.0
description: >-
  A package of classes that are generated from the DAP specifications along with
  their generating code.
repository: https://github.com/dart-lang/sdk/tree/main/third_party/pkg/dap

environment:
  sdk: '>=2.19.0 <4.0.0'

# We use 'any' version constraints here as we get our package versions from
# the dart-lang/sdk repo's DEPS file. Note that this is a special case; the
# best practice for packages is to specify their compatible version ranges.
# See also https://dart.dev/tools/pub/dependencies.
dev_dependencies:
  args: any
  collection: any
  http: any
  lints: any
  path: any

Version history

VersionPublishedArchiveSHA-256
1.0.0On demandDownload2120d4a8…c90cd9
1.1.0On demandDownload1dc9a11b…641aeb
1.2.0On demandDownloadfb7c8a64…d683a7
1.3.0On demandDownloadc0e53b52…a546aa
1.4.0Cached · Upstream SHA-256 matchedDownload42b0b083…b9c290

Dependencies

No direct dependencies declared.