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

Unified Diff: runtime/vm/debugger.h

Issue 9288071: Add debugger functions to inspect objects and classes (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 8 years, 11 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/vm/debugger.h
===================================================================
--- runtime/vm/debugger.h (revision 3572)
+++ runtime/vm/debugger.h (working copy)
@@ -144,9 +144,18 @@
// Called from Runtime when a breakpoint in Dart code is reached.
void BreakpointCallback();
+ RawArray* GetInstanceFields(const Instance& obj);
siva 2012/01/26 21:34:08 I am wondering whether it would make sense to just
hausner 2012/01/27 17:19:30 I was envisioning that the static fields of a clas
+ RawArray* GetStaticFields(const Class& cls);
+
// Utility functions.
static const char* QualifiedFunctionName(const Function& func);
+ RawInstance* GetInstanceField(const Class& cls,
+ const String& field_name,
+ const Instance& object);
+ RawInstance* GetStaticField(const Class& cls,
+ const String& field_name);
siva 2012/01/26 21:34:08 There is a certain amount of overlap between these
hausner 2012/01/27 17:19:30 I looked at that code when I implemented this. The
+
private:
Breakpoint* SetBreakpoint(const Function& target_function,
intptr_t token_index);

Powered by Google App Engine
This is Rietveld 408576698