@@ -82,10 +82,9 @@ class Debugger extends Domain {
82
82
// DevTools is showing an overlay. Both cannot be shown at the same time:
83
83
// bool _pausedOverlayVisible = false;
84
84
85
- String get pauseState =>
86
- _pauseModePauseStates.entries
87
- .firstWhere ((entry) => entry.value == _pauseState)
88
- .key;
85
+ String get pauseState => _pauseModePauseStates.entries
86
+ .firstWhere ((entry) => entry.value == _pauseState)
87
+ .key;
89
88
90
89
/// The JS frames at the current paused location.
91
90
///
@@ -540,17 +539,15 @@ class Debugger extends Domain {
540
539
final timestamp = DateTime .now ().millisecondsSinceEpoch;
541
540
final jsBreakpointIds = e.hitBreakpoints ?? [];
542
541
if (jsBreakpointIds.isNotEmpty) {
543
- final breakpointIds =
544
- jsBreakpointIds
545
- .map ((id) => _breakpoints._dartIdByJsId[id])
546
- // In case the breakpoint was set in Chrome DevTools outside of
547
- // package:dwds.
548
- .where ((entry) => entry != null )
549
- .toSet ();
550
- final pauseBreakpoints =
551
- isolate.breakpoints
552
- ? .where ((bp) => breakpointIds.contains (bp.id))
553
- .toList ();
542
+ final breakpointIds = jsBreakpointIds
543
+ .map ((id) => _breakpoints._dartIdByJsId[id])
544
+ // In case the breakpoint was set in Chrome DevTools outside of
545
+ // package:dwds.
546
+ .where ((entry) => entry != null )
547
+ .toSet ();
548
+ final pauseBreakpoints = isolate.breakpoints
549
+ ? .where ((bp) => breakpointIds.contains (bp.id))
550
+ .toList ();
554
551
event = Event (
555
552
kind: EventKind .kPauseBreakpoint,
556
553
timestamp: timestamp,
0 commit comments