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 424 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
435 | 435 |
436 RawObject* GetInstanceField(const Class& cls, | 436 RawObject* GetInstanceField(const Class& cls, |
437 const String& field_name, | 437 const String& field_name, |
438 const Instance& object); | 438 const Instance& object); |
439 RawObject* GetStaticField(const Class& cls, | 439 RawObject* GetStaticField(const Class& cls, |
440 const String& field_name); | 440 const String& field_name); |
441 | 441 |
442 void SignalBpReached(); | 442 void SignalBpReached(); |
443 void DebuggerStepCallback(); | 443 void DebuggerStepCallback(); |
444 | 444 |
| 445 void ExplicitBreakpoint(); |
| 446 |
445 void SignalExceptionThrown(const Instance& exc); | 447 void SignalExceptionThrown(const Instance& exc); |
446 void SignalIsolateEvent(DebuggerEvent::EventType type); | 448 void SignalIsolateEvent(DebuggerEvent::EventType type); |
447 static void SignalIsolateInterrupted(); | 449 static void SignalIsolateInterrupted(); |
448 | 450 |
449 uword GetPatchedStubAddress(uword breakpoint_address); | 451 uword GetPatchedStubAddress(uword breakpoint_address); |
450 | 452 |
451 void PrintBreakpointsToJSONArray(JSONArray* jsarr) const; | 453 void PrintBreakpointsToJSONArray(JSONArray* jsarr) const; |
452 | 454 |
453 static bool IsDebuggable(const Function& func); | 455 static bool IsDebuggable(const Function& func); |
454 | 456 |
(...skipping 109 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
564 | 566 |
565 friend class Isolate; | 567 friend class Isolate; |
566 friend class SourceBreakpoint; | 568 friend class SourceBreakpoint; |
567 DISALLOW_COPY_AND_ASSIGN(Debugger); | 569 DISALLOW_COPY_AND_ASSIGN(Debugger); |
568 }; | 570 }; |
569 | 571 |
570 | 572 |
571 } // namespace dart | 573 } // namespace dart |
572 | 574 |
573 #endif // VM_DEBUGGER_H_ | 575 #endif // VM_DEBUGGER_H_ |
OLD | NEW |