| OLD | NEW |
| 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 "vm/object.h" | 8 #include "vm/object.h" |
| 9 | 9 |
| 10 namespace dart { | 10 namespace dart { |
| (...skipping 19 matching lines...) Expand all Loading... |
| 30 RawString* SourceUrl(); | 30 RawString* SourceUrl(); |
| 31 intptr_t LineNumber(); | 31 intptr_t LineNumber(); |
| 32 | 32 |
| 33 void Enable(); | 33 void Enable(); |
| 34 void Disable(); | 34 void Disable(); |
| 35 bool IsEnabled() const { return is_enabled_; } | 35 bool IsEnabled() const { return is_enabled_; } |
| 36 | 36 |
| 37 private: | 37 private: |
| 38 void VisitObjectPointers(ObjectPointerVisitor* visitor); | 38 void VisitObjectPointers(ObjectPointerVisitor* visitor); |
| 39 | 39 |
| 40 void set_function(const Function& func); |
| 40 void set_next(SourceBreakpoint* value) { next_ = value; } | 41 void set_next(SourceBreakpoint* value) { next_ = value; } |
| 41 SourceBreakpoint* next() const { return this->next_; } | 42 SourceBreakpoint* next() const { return this->next_; } |
| 42 | 43 |
| 43 RawFunction* function_; | 44 RawFunction* function_; |
| 44 intptr_t token_index_; | 45 intptr_t token_index_; |
| 45 intptr_t line_number_; | 46 intptr_t line_number_; |
| 46 bool is_enabled_; | 47 bool is_enabled_; |
| 47 | 48 |
| 48 SourceBreakpoint* next_; | 49 SourceBreakpoint* next_; |
| 49 | 50 |
| (...skipping 219 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 269 bool ignore_breakpoints_; | 270 bool ignore_breakpoints_; |
| 270 | 271 |
| 271 friend class SourceBreakpoint; | 272 friend class SourceBreakpoint; |
| 272 DISALLOW_COPY_AND_ASSIGN(Debugger); | 273 DISALLOW_COPY_AND_ASSIGN(Debugger); |
| 273 }; | 274 }; |
| 274 | 275 |
| 275 | 276 |
| 276 } // namespace dart | 277 } // namespace dart |
| 277 | 278 |
| 278 #endif // VM_DEBUGGER_H_ | 279 #endif // VM_DEBUGGER_H_ |
| OLD | NEW |