| 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 RUNTIME_VM_DEBUGGER_H_ | 5 #ifndef RUNTIME_VM_DEBUGGER_H_ |
| 6 #define RUNTIME_VM_DEBUGGER_H_ | 6 #define RUNTIME_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" |
| 11 #include "vm/port.h" | 11 #include "vm/port.h" |
| 12 #include "vm/service_event.h" | 12 #include "vm/service_event.h" |
| 13 #include "vm/simulator.h" |
| 13 | 14 |
| 14 DECLARE_FLAG(bool, verbose_debug); | 15 DECLARE_FLAG(bool, verbose_debug); |
| 15 | 16 |
| 16 // 'Trace Debugger' TD_Print. | 17 // 'Trace Debugger' TD_Print. |
| 17 #if defined(_MSC_VER) | 18 #if defined(_MSC_VER) |
| 18 #define TD_Print(format, ...) \ | 19 #define TD_Print(format, ...) \ |
| 19 if (FLAG_verbose_debug) Log::Current()->Print(format, __VA_ARGS__) | 20 if (FLAG_verbose_debug) Log::Current()->Print(format, __VA_ARGS__) |
| 20 #else | 21 #else |
| 21 #define TD_Print(format, ...) \ | 22 #define TD_Print(format, ...) \ |
| 22 if (FLAG_verbose_debug) Log::Current()->Print(format, ##__VA_ARGS__) | 23 if (FLAG_verbose_debug) Log::Current()->Print(format, ##__VA_ARGS__) |
| (...skipping 766 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 789 static EventHandler* event_handler_; | 790 static EventHandler* event_handler_; |
| 790 | 791 |
| 791 friend class Isolate; | 792 friend class Isolate; |
| 792 friend class BreakpointLocation; | 793 friend class BreakpointLocation; |
| 793 DISALLOW_COPY_AND_ASSIGN(Debugger); | 794 DISALLOW_COPY_AND_ASSIGN(Debugger); |
| 794 }; | 795 }; |
| 795 | 796 |
| 796 } // namespace dart | 797 } // namespace dart |
| 797 | 798 |
| 798 #endif // RUNTIME_VM_DEBUGGER_H_ | 799 #endif // RUNTIME_VM_DEBUGGER_H_ |
| OLD | NEW |