Index: runtime/vm/json_stream.h |
=================================================================== |
--- runtime/vm/json_stream.h (revision 31074) |
+++ runtime/vm/json_stream.h (working copy) |
@@ -15,6 +15,7 @@ |
class JSONArray; |
class JSONObject; |
class Object; |
+class SourceBreakpoint; |
hausner
2013/12/17 21:04:33
Ouch. The debugger starts creeping into other part
turnidge
2013/12/17 21:50:01
The design of JSONStream is such that it needs a s
|
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: |