Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(772)

Unified Diff: runtime/observatory/lib/src/models/objects/frame.dart

Issue 2646443005: Track async causal stack traces (Closed)
Patch Set: rebase Created 3 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: runtime/observatory/lib/src/models/objects/frame.dart
diff --git a/runtime/observatory/lib/src/models/objects/frame.dart b/runtime/observatory/lib/src/models/objects/frame.dart
index be46bbaa3b82486e339309e5a82c8083b31eabc1..d2c4a1a39cd03d6eadb024e0847edc7ef2469c31 100644
--- a/runtime/observatory/lib/src/models/objects/frame.dart
+++ b/runtime/observatory/lib/src/models/objects/frame.dart
@@ -4,7 +4,15 @@
part of models;
+enum FrameKind {
+ regular,
+ asyncCausal,
+ asyncSuspensionMarker
+}
+
abstract class Frame {
+ FrameKind get kind;
+ String get marker;
FunctionRef get function;
SourceLocation get location;
}
« no previous file with comments | « runtime/observatory/lib/src/elements/debugger.dart ('k') | runtime/observatory/lib/src/models/repositories/target.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698