mirror of
https://github.com/dart-lang/sdk
synced 2024-09-15 23:49:47 +00:00
9520235bfe
Running all existing tests with/without lazy async stacks ensures that the existing functionality for --lazy-async-stacks does not regress. There are still a few smaller things to be done in the debugger for lazy async stacks. This CL also ensures: * The inner closure, i.e. AsyncClosure/AsyncGenClosure, is not inlined if FLAG_lazy_async_stacks is on. * Fixes a crash in dartkb mode, when the function of the Bytecode object is null. * Does a simple integration of the lazy async stacks in debugger.cc - to ensure a stack is returned via vm-service. Issue https://github.com/dart-lang/sdk/issues/37668 Change-Id: Ibc1e887a457e2c456ae65d9ed5fa92434f122a32 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/131825 Commit-Queue: Martin Kustermann <kustermann@google.com> Reviewed-by: Ben Konyi <bkonyi@google.com>
12 lines
414 B
Dart
12 lines
414 B
Dart
// Copyright (c) 2017, the Dart project authors. Please see the AUTHORS file
|
|
// for details. All rights reserved. Use of this source code is governed by a
|
|
// BSD-style license that can be found in the LICENSE file.
|
|
// VMOptions=--no-lazy-async-stacks --causal-async-stacks
|
|
|
|
import "package:expect/expect.dart";
|
|
|
|
main() {
|
|
Expect
|
|
.isTrue(const bool.fromEnvironment('dart.developer.causal_async_stacks'));
|
|
}
|