dap
1.4.0A package of classes that are generated from the DAP specifications along with their generating code.
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:
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
showToUserfield toDebugAdapterExceptionto specify which errors should be shown to users.
1.2.0
- Added
DartInitializeRequestArguments, a subclass ofInitializeRequestArgumentsthat supports a custom flagsupportsDartUrisfor informing the debug adapter that the client supports using URIs in places that might usually be file paths (such asstackTraceRequest). Setting this flag indicates that the client supportsfile: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:ddsinto a standalone package.
Installing
export PUB_HOSTED_URL=https://pub.mirror.p-hatan.ir
flutter pub add dappubspec.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
Dependencies
No direct dependencies declared.