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

Unified Diff: runtime/vm/debugger.h

Issue 10657048: Debugger support to display global variables (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 8 years, 6 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 9118)
+++ runtime/vm/debugger.h (working copy)
@@ -114,8 +114,6 @@
};
-
-
// ActivationFrame represents one dart function activation frame
// on the call stack.
class ActivationFrame : public ZoneAllocated {
@@ -130,6 +128,7 @@
RawString* QualifiedFunctionName();
RawString* SourceUrl();
RawScript* SourceScript();
+ RawLibrary* Library();
intptr_t TokenIndex();
intptr_t LineNumber();
@@ -264,6 +263,7 @@
RawArray* GetInstanceFields(const Instance& obj);
RawArray* GetStaticFields(const Class& cls);
RawArray* GetLibraryFields(const Library& lib);
+ RawArray* GetGlobalFields(const Library& lib);
intptr_t CacheObject(const Object& obj);
RawObject* GetCachedObject(intptr_t obj_id);
@@ -317,6 +317,10 @@
bool ShouldPauseOnException(DebuggerStackTrace* stack_trace,
const Object& exc);
+ void CollectLibraryFields(const GrowableObjectArray& field_list,
+ const Library& lib,
+ const String& prefix);
+
Isolate* isolate_;
bool initialized_;
BreakpointHandler* bp_handler_;

Powered by Google App Engine
This is Rietveld 408576698