d32e86aaff
Introduce GroupDebugger::IsDebugging check that doesn't need to iterate through all isolates debuggers to confirm whether some debugger is stepping through the code or if function has a breakpoint in it. Replace Debugger::HasBreakpoint with GroupDebugger::HasBreakpoint. Fixes https://github.com/dart-lang/sdk/issues/45513 Fixes https://github.com/dart-lang/sdk/issues/45517 Issue https://github.com/dart-lang/sdk/issues/36097 TEST=existing ci test suite Change-Id: I5250bbc05d77c1333d52fb0ecab5e9f7b6f8c651 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/193445 Commit-Queue: Alexander Aprelev <aam@google.com> Reviewed-by: Ben Konyi <bkonyi@google.com>