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

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

Issue 1132153002: Add Debugger.inspect. 1976 here we come! (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 5 years, 7 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 44d7d6552536c9824a55b2c6bbb7e5e88596f22a..b0876e07cdae0a1cd2a86c092dc56b60cd5cc804 100644
--- a/runtime/observatory/lib/src/service/object.dart
+++ b/runtime/observatory/lib/src/service/object.dart
@@ -1067,6 +1067,7 @@ class Isolate extends ServiceObjectOwner with Coverage {
switch(event.eventType) {
case ServiceEvent.kIsolateStart:
case ServiceEvent.kIsolateExit:
+ case ServiceEvent.kInspect:
// Handled elsewhere.
break;
@@ -1455,6 +1456,7 @@ class ServiceEvent extends ServiceObject {
static const kBreakpointRemoved = 'BreakpointRemoved';
static const kGraph = '_Graph';
static const kGC = 'GC';
+ static const kInspect = 'Inspect';
static const kConnectionClosed = 'ConnectionClosed';
ServiceEvent._empty(ServiceObjectOwner owner) : super._empty(owner);
@@ -1467,6 +1469,7 @@ class ServiceEvent extends ServiceObject {
@observable Breakpoint breakpoint;
@observable ServiceMap topFrame;
@observable ServiceMap exception;
+ @observable ServiceObject inspectee;
@observable ByteData data;
@observable int count;
@observable String reason;
@@ -1487,6 +1490,9 @@ class ServiceEvent extends ServiceObject {
if (map['exception'] != null) {
exception = map['exception'];
}
+ if (map['inspectee'] != null) {
+ inspectee = map['inspectee'];
+ }
if (map['_data'] != null) {
data = map['_data'];
}
« no previous file with comments | « runtime/observatory/lib/src/elements/nav_bar.html ('k') | runtime/observatory/tests/service/debugger_inspect_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698