blob: bb732d9187d4255e021449b0b7fa6270c3ae7616 [file] [log] [blame]
// Copyright 2019 The Flutter Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file or at https://developers.google.com/open-source/licenses/bsd.
// ignore_for_file: avoid_print
import 'dart:async';
void main() {
print('starting debugging app');
final cat = Cat('Fluffy');
void run() {
Timer(const Duration(milliseconds: 100), () {
cat.performAction();
run();
});
}
run();
}
class Cat {
Cat(this.name);
final String name;
String get type => 'cat';
int actionCount = 0;
void performAction() {
String actionStr = 'catAction';
actionStr = '$actionStr!';
actionCount++; // breakpoint
}
}