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

Unified Diff: runtime/vm/json_stream.h

Issue 113513004: Handle vmservice messages while at breakpoint. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 7 years 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/vm/debugger_test.cc ('k') | runtime/vm/json_stream.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/json_stream.h
===================================================================
--- runtime/vm/json_stream.h (revision 31232)
+++ runtime/vm/json_stream.h (working copy)
@@ -15,6 +15,7 @@
class JSONArray;
class JSONObject;
class Object;
+class SourceBreakpoint;
class JSONStream : ValueObject {
public:
@@ -40,6 +41,8 @@
return option_values_[i];
}
+ const char* LookupOption(const char* key) const;
+
private:
void Clear();
@@ -56,6 +59,7 @@
void PrintfValue(const char* format, ...) PRINTF_ATTRIBUTE(2, 3);
void PrintValue(const Object& o, bool ref = true);
void PrintValue(const Field& f, const Instance& instance, bool ref = true);
+ void PrintValue(const SourceBreakpoint* bpt);
void PrintPropertyBool(const char* name, bool b);
void PrintProperty(const char* name, intptr_t i);
@@ -154,6 +158,9 @@
bool ref = true) const {
stream_->PrintValue(field, instance, ref);
}
+ void AddValue(const SourceBreakpoint* bpt) const {
+ stream_->PrintValue(bpt);
+ }
void AddValueF(const char* format, ...) const PRINTF_ATTRIBUTE(2, 3);
private:
« no previous file with comments | « runtime/vm/debugger_test.cc ('k') | runtime/vm/json_stream.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698