46d02f42a4
service/get_object_rpc_test was failing because one ID in it hadn't been updated to the new format. service/bad_reload_test was failing because `ServiceEvent::PrintJSON` was attempting to populate the `reloadError` property of every `Event` of kind `IsolateReload` with an `@Error`, but it was not possible to allocate IDs for these `@Error`s because `ReloadSources` runs for an isolate group, not for an individual isolate. I fixed this by removing the `reloadError` property and adding a `reloadFailureReason` property with type `string`. TEST=confirmed that service/bad_reload_test and service/get_object_rpc_test complete successfully on a local build of the linux-debug-x64 SDK, vm-linux-debug-x64 tryjob Issue: https://github.com/dart-lang/sdk/issues/55869 Change-Id: Ibf507aa0e475a6b9bed42b055e9d19b54aa81844 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/382661 Reviewed-by: Ben Konyi <bkonyi@google.com> Commit-Queue: Derek Xu <derekx@google.com>
A library to access the VM Service Protocol.
Usage
See the example for a simple use of the library's API.
The VM Service Protocol specification can be found at github.com/dart-lang/sdk/runtime/vm/service/service.md.
Features and bugs
Please file feature requests and bugs at the issue tracker.