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

Unified Diff: runtime/vm/debugger.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/dart_api_impl.cc ('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 31232)
+++ runtime/vm/debugger.h (working copy)
@@ -15,6 +15,8 @@
class ActiveVariables;
class CodeBreakpoint;
class Isolate;
+class JSONArray;
+class JSONStream;
class ObjectPointerVisitor;
class RemoteObjectCache;
class SourceBreakpoint;
@@ -36,12 +38,16 @@
RawString* SourceUrl();
intptr_t LineNumber();
- void GetCodeLocation(Library* lib, Script* script, intptr_t* token_pos);
+ void GetCodeLocation(Library* lib,
+ Script* script,
+ intptr_t* token_pos) const;
void Enable();
void Disable();
bool IsEnabled() const { return is_enabled_; }
+ void PrintToJSONStream(JSONStream* stream) const;
+
private:
void VisitObjectPointers(ObjectPointerVisitor* visitor);
@@ -352,6 +358,8 @@
uword GetPatchedStubAddress(uword breakpoint_address);
+ void PrintBreakpointsToJSONArray(JSONArray* jsarr) const;
+
static bool IsDebuggable(const Function& func);
private:
« no previous file with comments | « runtime/vm/dart_api_impl.cc ('k') | runtime/vm/debugger.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698