Update dwds and other packages (#94634)

This commit is contained in:
Anna Gringauze
2021-12-07 14:29:07 -08:00
committed by GitHub
parent 3af6b2f604
commit d7466d8963
41 changed files with 85 additions and 84 deletions

View File

@@ -611,7 +611,8 @@ class HotRunner extends ResidentRunner {
// new isolates, which will be configured by the editor as they are
// started.
final List<Future<void>> breakpointAndExceptionRemoval = <Future<void>>[
device.vmService.service.setExceptionPauseMode(isolate.id, 'None'),
device.vmService.service.setIsolatePauseMode(isolate.id,
exceptionPauseMode: vm_service.ExceptionPauseMode.kNone),
for (final vm_service.Breakpoint breakpoint in isolate.breakpoints)
device.vmService.service.removeBreakpoint(isolate.id, breakpoint.id)
];

View File

@@ -11,7 +11,7 @@ dependencies:
args: 2.3.0
browser_launcher: 1.0.0
dds: 2.1.4
dwds: 11.4.0
dwds: 11.5.0
completion: 1.0.0
coverage: 1.0.3
crypto: 3.0.1
@@ -55,7 +55,7 @@ dependencies:
test_api: 0.4.8
test_core: 0.4.9
vm_service: 7.3.0
vm_service: 7.5.0
_fe_analyzer_shared: 31.0.0 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
analyzer: 2.8.0 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
@@ -104,4 +104,4 @@ dartdoc:
# Exclude this package from the hosted API docs.
nodoc: true
# PUBSPEC CHECKSUM: b80c
# PUBSPEC CHECKSUM: 360f

View File

@@ -923,10 +923,10 @@ void main() {
jsonResponse: vm_service.VM.parse(<String, Object>{}).toJson(),
),
const FakeVmServiceRequest(
method: 'setExceptionPauseMode',
method: 'setIsolatePauseMode',
args: <String, String>{
'isolateId': '1',
'mode': 'None',
'exceptionPauseMode': 'None',
}
),
const FakeVmServiceRequest(

View File

@@ -164,9 +164,9 @@ abstract class FlutterTestDriver {
await waitForPause();
if (pauseOnExceptions) {
await _vmService!.setExceptionPauseMode(
await _vmService!.setIsolatePauseMode(
await _getFlutterIsolateId(),
ExceptionPauseMode.kUnhandled,
exceptionPauseMode: ExceptionPauseMode.kUnhandled,
);
}
}