| 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 "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 270 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 281 // hierarchy. | 281 // hierarchy. |
| 282 class DebuggerEvent { | 282 class DebuggerEvent { |
| 283 public: | 283 public: |
| 284 enum EventType { | 284 enum EventType { |
| 285 kBreakpointReached = 1, | 285 kBreakpointReached = 1, |
| 286 kBreakpointResolved = 2, | 286 kBreakpointResolved = 2, |
| 287 kExceptionThrown = 3, | 287 kExceptionThrown = 3, |
| 288 kIsolateCreated = 4, | 288 kIsolateCreated = 4, |
| 289 kIsolateShutdown = 5, | 289 kIsolateShutdown = 5, |
| 290 kIsolateInterrupted = 6, | 290 kIsolateInterrupted = 6, |
| 291 kIsolateResumed = 7, |
| 291 }; | 292 }; |
| 292 | 293 |
| 293 explicit DebuggerEvent(Isolate* isolate, EventType event_type) | 294 explicit DebuggerEvent(Isolate* isolate, EventType event_type) |
| 294 : isolate_(isolate), | 295 : isolate_(isolate), |
| 295 type_(event_type), | 296 type_(event_type), |
| 296 top_frame_(NULL), | 297 top_frame_(NULL), |
| 297 breakpoint_(NULL), | 298 breakpoint_(NULL), |
| 298 exception_(NULL) {} | 299 exception_(NULL) {} |
| 299 | 300 |
| 300 Isolate* isolate() const { return isolate_; } | 301 Isolate* isolate() const { return isolate_; } |
| (...skipping 262 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 563 | 564 |
| 564 friend class Isolate; | 565 friend class Isolate; |
| 565 friend class SourceBreakpoint; | 566 friend class SourceBreakpoint; |
| 566 DISALLOW_COPY_AND_ASSIGN(Debugger); | 567 DISALLOW_COPY_AND_ASSIGN(Debugger); |
| 567 }; | 568 }; |
| 568 | 569 |
| 569 | 570 |
| 570 } // namespace dart | 571 } // namespace dart |
| 571 | 572 |
| 572 #endif // VM_DEBUGGER_H_ | 573 #endif // VM_DEBUGGER_H_ |
| OLD | NEW |