Skip to content

Commit 094ee97

Browse files
author
Anna Gringauze
authored
Add back setExceptionPauseMode (#1871)
* Add back setExceptionPauseMode Closes: #1868 * Address CR comments
1 parent 2e65ddf commit 094ee97

File tree

2 files changed

+11
-0
lines changed

2 files changed

+11
-0
lines changed

dwds/CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@
1919
- Prepare or Dart 3 alpha breaking changes:
2020
- Move weak null safety tests to special branch of `build_web_compilers`.
2121
- Do not pass `--(no)-sound-null-safety` flag to build daemon.
22+
- Add back `ChromeProxyService.setExceptionPauseMode()` without override.
2223

2324

2425
## 16.0.1

dwds/lib/src/services/chrome_proxy_service.dart

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -772,6 +772,16 @@ ${globalLoadStrategy.loadModuleSnippet}("dart_sdk").developer.invokeExtension(
772772
}
773773
}
774774

775+
/// This method is deprecated in vm_service package.
776+
///
777+
/// TODO(annagrin): remove after dart-code and IntelliJ stop using this API.
778+
/// Issue: https://github.com/dart-lang/webdev/issues/1868
779+
///
780+
// ignore: annotate_overrides
781+
Future<Success> setExceptionPauseMode(
782+
String isolateId, /*ExceptionPauseMode*/ String mode) =>
783+
setIsolatePauseMode(isolateId, exceptionPauseMode: mode);
784+
775785
@override
776786
Future<Success> setIsolatePauseMode(String isolateId,
777787
{String? exceptionPauseMode, bool? shouldPauseOnExit}) async {

0 commit comments

Comments
 (0)