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

Unified Diff: runtime/observatory/lib/src/service/object.dart

Issue 1299083002: Automagically change the meaning of 'next' to 'async-next' when paused at an async function at awai… (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 5 years, 4 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/service/object.dart
diff --git a/runtime/observatory/lib/src/service/object.dart b/runtime/observatory/lib/src/service/object.dart
index 68e696e3ae8f8e832951388411705c529ce317f3..0426b5d96dc635824505ed2156633436c757d300 100644
--- a/runtime/observatory/lib/src/service/object.dart
+++ b/runtime/observatory/lib/src/service/object.dart
@@ -1722,6 +1722,7 @@ class ServiceEvent extends ServiceObject {
@observable Frame topFrame;
@observable Instance exception;
@observable Instance asyncContinuation;
+ @observable bool atAsyncJump;
@observable ServiceObject inspectee;
@observable ByteData data;
@observable int count;
@@ -1764,6 +1765,9 @@ class ServiceEvent extends ServiceObject {
}
if (map['_asyncContinuation'] != null) {
asyncContinuation = map['_asyncContinuation'];
+ atAsyncJump = map['_atAsyncJump'];
+ } else {
+ atAsyncJump = false;
}
if (map['inspectee'] != null) {
inspectee = map['inspectee'];
@@ -3643,7 +3647,7 @@ class Frame extends ServiceObject {
this.variables = map['vars'];
}
- String toString() => "Frame(${function.qualifiedName})";
+ String toString() => "Frame(${function.qualifiedName} $location)";
}
« no previous file with comments | « runtime/observatory/lib/src/elements/debugger.dart ('k') | runtime/observatory/tests/service/smart_next_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698