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

Side by Side Diff: runtime/vm/debugger.h

Issue 257053003: Always use the same json for null in the vm service. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: gen js Created 6 years, 7 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « runtime/vm/coverage.cc ('k') | runtime/vm/debugger.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
2 // for details. All rights reserved. Use of this source code is governed by a 2 // for details. All rights reserved. Use of this source code is governed by a
3 // BSD-style license that can be found in the LICENSE file. 3 // BSD-style license that can be found in the LICENSE file.
4 4
5 #ifndef VM_DEBUGGER_H_ 5 #ifndef VM_DEBUGGER_H_
6 #define VM_DEBUGGER_H_ 6 #define VM_DEBUGGER_H_
7 7
8 #include "include/dart_debugger_api.h" 8 #include "include/dart_debugger_api.h"
9 9
10 #include "vm/object.h" 10 #include "vm/object.h"
(...skipping 30 matching lines...) Expand all
41 RawString* SourceUrl(); 41 RawString* SourceUrl();
42 intptr_t LineNumber(); 42 intptr_t LineNumber();
43 43
44 void GetCodeLocation(Library* lib, Script* script, intptr_t* token_pos); 44 void GetCodeLocation(Library* lib, Script* script, intptr_t* token_pos);
45 45
46 void Enable(); 46 void Enable();
47 void Disable(); 47 void Disable();
48 bool IsEnabled() const { return is_enabled_; } 48 bool IsEnabled() const { return is_enabled_; }
49 bool IsResolved() { return is_resolved_; } 49 bool IsResolved() { return is_resolved_; }
50 50
51 void PrintToJSONStream(JSONStream* stream); 51 void PrintJSON(JSONStream* stream);
52 52
53 private: 53 private:
54 void VisitObjectPointers(ObjectPointerVisitor* visitor); 54 void VisitObjectPointers(ObjectPointerVisitor* visitor);
55 55
56 void SetResolved(const Function& func, intptr_t token_pos); 56 void SetResolved(const Function& func, intptr_t token_pos);
57 void set_next(SourceBreakpoint* value) { next_ = value; } 57 void set_next(SourceBreakpoint* value) { next_ = value; }
58 SourceBreakpoint* next() const { return this->next_; } 58 SourceBreakpoint* next() const { return this->next_; }
59 59
60 const intptr_t id_; 60 const intptr_t id_;
61 RawScript* script_; 61 RawScript* script_;
(...skipping 439 matching lines...) Expand 10 before | Expand all | Expand 10 after
501 501
502 friend class Isolate; 502 friend class Isolate;
503 friend class SourceBreakpoint; 503 friend class SourceBreakpoint;
504 DISALLOW_COPY_AND_ASSIGN(Debugger); 504 DISALLOW_COPY_AND_ASSIGN(Debugger);
505 }; 505 };
506 506
507 507
508 } // namespace dart 508 } // namespace dart
509 509
510 #endif // VM_DEBUGGER_H_ 510 #endif // VM_DEBUGGER_H_
OLDNEW
« no previous file with comments | « runtime/vm/coverage.cc ('k') | runtime/vm/debugger.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698