| 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" |
| (...skipping 651 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 662 Code* code, | 662 Code* code, |
| 663 Code* inlined_code, | 663 Code* inlined_code, |
| 664 Array* deopt_frame); | 664 Array* deopt_frame); |
| 665 static DebuggerStackTrace* CollectStackTrace(); | 665 static DebuggerStackTrace* CollectStackTrace(); |
| 666 static DebuggerStackTrace* CollectAsyncCausalStackTrace(); | 666 static DebuggerStackTrace* CollectAsyncCausalStackTrace(); |
| 667 static DebuggerStackTrace* CollectAwaiterReturnStackTrace(); | 667 static DebuggerStackTrace* CollectAwaiterReturnStackTrace(); |
| 668 void SignalPausedEvent(ActivationFrame* top_frame, Breakpoint* bpt); | 668 void SignalPausedEvent(ActivationFrame* top_frame, Breakpoint* bpt); |
| 669 | 669 |
| 670 intptr_t nextId() { return next_id_++; } | 670 intptr_t nextId() { return next_id_++; } |
| 671 | 671 |
| 672 bool ShouldPauseOnAsyncException(DebuggerStackTrace* stack_trace, | |
| 673 const Instance& exc); | |
| 674 | |
| 675 bool ShouldPauseOnException(DebuggerStackTrace* stack_trace, | 672 bool ShouldPauseOnException(DebuggerStackTrace* stack_trace, |
| 676 const Instance& exc); | 673 const Instance& exc); |
| 677 | 674 |
| 678 void CollectLibraryFields(const GrowableObjectArray& field_list, | 675 void CollectLibraryFields(const GrowableObjectArray& field_list, |
| 679 const Library& lib, | 676 const Library& lib, |
| 680 const String& prefix, | 677 const String& prefix, |
| 681 bool include_private_fields); | 678 bool include_private_fields); |
| 682 | 679 |
| 683 // Handles any events which pause vm execution. Breakpoints, | 680 // Handles any events which pause vm execution. Breakpoints, |
| 684 // interrupts, etc. | 681 // interrupts, etc. |
| (...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 758 | 755 |
| 759 friend class Isolate; | 756 friend class Isolate; |
| 760 friend class BreakpointLocation; | 757 friend class BreakpointLocation; |
| 761 DISALLOW_COPY_AND_ASSIGN(Debugger); | 758 DISALLOW_COPY_AND_ASSIGN(Debugger); |
| 762 }; | 759 }; |
| 763 | 760 |
| 764 | 761 |
| 765 } // namespace dart | 762 } // namespace dart |
| 766 | 763 |
| 767 #endif // RUNTIME_VM_DEBUGGER_H_ | 764 #endif // RUNTIME_VM_DEBUGGER_H_ |
| OLD | NEW |