| 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 316 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 327 | 327 |
| 328 | 328 |
| 329 class Debugger { | 329 class Debugger { |
| 330 public: | 330 public: |
| 331 typedef void EventHandler(DebuggerEvent* event); | 331 typedef void EventHandler(DebuggerEvent* event); |
| 332 | 332 |
| 333 Debugger(); | 333 Debugger(); |
| 334 ~Debugger(); | 334 ~Debugger(); |
| 335 | 335 |
| 336 void Initialize(Isolate* isolate); | 336 void Initialize(Isolate* isolate); |
| 337 void NotifyIsolateCreated(); |
| 337 void Shutdown(); | 338 void Shutdown(); |
| 338 | 339 |
| 339 void NotifyCompilation(const Function& func); | 340 void NotifyCompilation(const Function& func); |
| 340 | 341 |
| 341 RawFunction* ResolveFunction(const Library& library, | 342 RawFunction* ResolveFunction(const Library& library, |
| 342 const String& class_name, | 343 const String& class_name, |
| 343 const String& function_name); | 344 const String& function_name); |
| 344 | 345 |
| 345 // Set breakpoint at closest location to function entry. | 346 // Set breakpoint at closest location to function entry. |
| 346 SourceBreakpoint* SetBreakpointAtEntry(const Function& target_function); | 347 SourceBreakpoint* SetBreakpointAtEntry(const Function& target_function); |
| (...skipping 195 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 542 | 543 |
| 543 friend class Isolate; | 544 friend class Isolate; |
| 544 friend class SourceBreakpoint; | 545 friend class SourceBreakpoint; |
| 545 DISALLOW_COPY_AND_ASSIGN(Debugger); | 546 DISALLOW_COPY_AND_ASSIGN(Debugger); |
| 546 }; | 547 }; |
| 547 | 548 |
| 548 | 549 |
| 549 } // namespace dart | 550 } // namespace dart |
| 550 | 551 |
| 551 #endif // VM_DEBUGGER_H_ | 552 #endif // VM_DEBUGGER_H_ |
| OLD | NEW |