dart-sdk/pkg
Ben Konyi 2a2d83e9e9 [ VM / Service ] Add support for enabling/disabling breakpoints
This change adds a `setBreakpointState` RPC which allows for breakpoints
to be enabled or disabled without needing to remove and recreate
breakpoints.

Fixes https://github.com/dart-lang/sdk/issues/45336.

TEST=set_breakpoint_state_test.dart

Change-Id: I1a04e6028d4e4560fdb8d3d26420c9a05da06b4b
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/193896
Commit-Queue: Ben Konyi <bkonyi@google.com>
Reviewed-by: Alexander Aprelev <aam@google.com>
2021-04-06 22:16:06 +00:00
..
_fe_analyzer_shared [cfe] Const factories when const functions enabled. 2021-04-06 19:46:32 +00:00
_js_interop_checks Clean up arguments in getProperty lowering. 2021-03-09 17:52:30 +00:00
analysis_server Migrate benchmark/integration/ 2021-04-06 21:10:33 +00:00
analysis_server_client Remove remaining opt-outs to 2.9 from analysis_server_client. 2021-04-05 16:10:16 +00:00
analyzer Add a method to resolve a library 2021-04-06 21:27:43 +00:00
analyzer_cli Add a json format to dartanalyzer 2021-03-30 22:10:12 +00:00
analyzer_plugin Use Object as the type for TypeUnion in analysis_server protocol generator. 2021-04-03 19:44:24 +00:00
analyzer_utilities [sdk] Bump version to 2.13 2021-02-04 12:10:17 +00:00
async_helper [sdk] Bump version to 2.13 2021-02-04 12:10:17 +00:00
build_integration [CFE] Make standard filesystem more synchronous by default; add async versions 2021-02-17 10:28:00 +00:00
compiler Revert "[dart2js] Avoid premature interceptor optimizations" 2021-04-06 08:09:07 +00:00
dart2js_tools
dart2native Add --[no-]sound-null-safety option to dart2native and dart compile exe 2021-01-26 19:16:30 +00:00
dart_internal Remove an unnecessary ignore comment from dart-internal 2021-03-22 18:49:36 +00:00
dartdev Upgrade the 'web-simple' project template to null safety. 2021-04-06 16:40:17 +00:00
dds [ package:dds ] Update DDS dependencies and set SDK requirement to >=2.12 2021-03-19 19:49:08 +00:00
dev_compiler [dartdevc] Adding expression compiler e2e test sanity checks. 2021-04-06 18:25:12 +00:00
diagnostic
expect [vm/compiler] Change when parents of local functions are retained. 2021-03-25 13:47:03 +00:00
front_end [cfe] Const factories when const functions enabled. 2021-04-06 19:46:32 +00:00
frontend_server Fix expression evaluation failure after hot restart 2021-03-11 23:16:41 +00:00
js Prepare to publish js and meta for null safety 2021-02-02 21:33:17 +00:00
js_ast [dart2js/js_ast] cleanup: Simplify LiteralExpression 2021-01-12 01:28:10 +00:00
js_runtime [dart2js] make js_runtime a proper package 2021-01-25 22:39:23 +00:00
kernel [cfe] Implement missing bound checks for nonfunction type aliases 2021-03-31 19:21:42 +00:00
language_versioning_2.7_test
meta Prepare to publish js and meta for null safety 2021-02-02 21:33:17 +00:00
modular_test Prepare for switching to null safe package_config 2021-01-21 05:04:33 +00:00
native_stack_traces [pkg/native_stack_traces] Create stable null safety version. 2021-02-23 10:27:39 +00:00
nnbd_migration Migration: disable "apply migration" button after handleAddHintLinkClick 2021-04-06 05:12:56 +00:00
scrape remove unnecessary parens in string interp 2021-03-25 22:24:34 +00:00
smith [infra] Add new compressed architectures to the test matrix. 2021-02-04 17:44:37 +00:00
sourcemap_testing
status_file [test] Apply simarm64 status file entries to simarm64c. 2021-02-25 21:18:02 +00:00
telemetry telemetry: Remove unnecessary imports 2020-12-30 22:38:50 +00:00
test_runner Modify test runner to use the new dartanalyzer --format=json feature. 2021-04-05 14:12:56 +00:00
testing [CFE] Make fuzz testing work also when not skipping VM 2021-03-22 10:12:52 +00:00
vm [vm/aot] Avoid reusing Reference when replacing Field with getter in tree shaker 2021-03-31 15:57:59 +00:00
vm_service [ VM / Service ] Add support for enabling/disabling breakpoints 2021-04-06 22:16:06 +00:00
vm_snapshot_analysis [vm] Create more Function helper methods for code clarity. 2021-03-23 12:21:26 +00:00
wasm Port package:wasm to new FFI Opaque structs and Allocator API 2021-03-03 22:35:14 +00:00
.gitignore
BUILD.gn
pkg.status [test] Apply simarm64 status file entries to simarm64c. 2021-02-25 21:18:02 +00:00
README.md

Package validation

The packages in pkg/ are automatically validated on the LUCI CI bots. The validation is largely done by the tools/package_deps package; it can be tested locally via:

dart tools/package_deps/bin/package_deps.dart

Packages which are published

There are several packages developed in pkg/ which are published to pub. Validation of these packages is particularly important because the pub tools are not used for these packages during development; we get our dependency versions from the DEPS file. Its very easy for the dependencies specified in a package's pubspec file to get out of date wrt the packages and versions actually used.

In order to better ensure we're publishing correct packages, we validate some properties of the pubspec files on our CI system. These validations include:

  • that the dependencies listed in the pubspec are used in the package
  • that all the packages used by the source are listed in the pubspec
  • that we don't use relative path deps to pkg/ or third_party/ packages

Packages which are not published

For packages in pkg/ which we do not intend to be published, we put the following comment in the pubspec.yaml file:

# This package is not intended for consumption on pub.dev. DO NOT publish.
publish_to: none

These pubspecs are still validated by the package validation tool. The contents are more informational as the pubspecs for these packages are not consumed by the pub tool or ecosystem.

We validate:

  • that the dependencies listed in the pubspec are used in the package
  • that all the packages used by the source are listed in the pubspec
  • that a reference to a pkg/ package is done via a relative path dependency