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

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: Add debugger functions to inspect objects and classes 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
« no previous file with comments | « runtime/include/dart_debugger_api.h ('k') | runtime/vm/debugger.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/debugger.h
===================================================================
--- runtime/vm/debugger.h (revision 3633)
+++ 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);
+ RawArray* GetStaticFields(const Class& cls);
+
// Utility functions.
static const char* QualifiedFunctionName(const Function& func);
+ RawObject* GetInstanceField(const Class& cls,
+ const String& field_name,
+ const Instance& object);
+ RawObject* GetStaticField(const Class& cls,
+ const String& field_name);
+
private:
Breakpoint* SetBreakpoint(const Function& target_function,
intptr_t token_index);
@@ -156,6 +165,7 @@
Breakpoint* GetBreakpointByFunction(const Function& func,
intptr_t token_index);
+ Isolate* isolate_;
bool initialized_;
BreakpointHandler* bp_handler_;
Breakpoint* breakpoints_;
« no previous file with comments | « runtime/include/dart_debugger_api.h ('k') | runtime/vm/debugger.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698