| 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_tools_api.h" | 8 #include "include/dart_tools_api.h" |
| 9 | 9 |
| 10 #include "vm/object.h" | 10 #include "vm/object.h" |
| (...skipping 637 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 648 | 648 |
| 649 // Handles any events which pause vm execution. Breakpoints, | 649 // Handles any events which pause vm execution. Breakpoints, |
| 650 // interrupts, etc. | 650 // interrupts, etc. |
| 651 void Pause(DebuggerEvent* event); | 651 void Pause(DebuggerEvent* event); |
| 652 | 652 |
| 653 void HandleSteppingRequest(DebuggerStackTrace* stack_trace); | 653 void HandleSteppingRequest(DebuggerStackTrace* stack_trace); |
| 654 | 654 |
| 655 Isolate* isolate_; | 655 Isolate* isolate_; |
| 656 Dart_Port isolate_id_; // A unique ID for the isolate in the debugger. | 656 Dart_Port isolate_id_; // A unique ID for the isolate in the debugger. |
| 657 bool initialized_; | 657 bool initialized_; |
| 658 bool creation_message_sent_; // The creation message has been sent. |
| 658 | 659 |
| 659 // ID number generator. | 660 // ID number generator. |
| 660 intptr_t next_id_; | 661 intptr_t next_id_; |
| 661 | 662 |
| 662 BreakpointLocation* latent_locations_; | 663 BreakpointLocation* latent_locations_; |
| 663 BreakpointLocation* breakpoint_locations_; | 664 BreakpointLocation* breakpoint_locations_; |
| 664 CodeBreakpoint* code_breakpoints_; | 665 CodeBreakpoint* code_breakpoints_; |
| 665 | 666 |
| 666 // Tells debugger what to do when resuming execution after a breakpoint. | 667 // Tells debugger what to do when resuming execution after a breakpoint. |
| 667 ResumeAction resume_action_; | 668 ResumeAction resume_action_; |
| (...skipping 26 matching lines...) Expand all Loading... |
| 694 | 695 |
| 695 friend class Isolate; | 696 friend class Isolate; |
| 696 friend class BreakpointLocation; | 697 friend class BreakpointLocation; |
| 697 DISALLOW_COPY_AND_ASSIGN(Debugger); | 698 DISALLOW_COPY_AND_ASSIGN(Debugger); |
| 698 }; | 699 }; |
| 699 | 700 |
| 700 | 701 |
| 701 } // namespace dart | 702 } // namespace dart |
| 702 | 703 |
| 703 #endif // VM_DEBUGGER_H_ | 704 #endif // VM_DEBUGGER_H_ |
| OLD | NEW |