| 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 554 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 565 void SignalIsolateEvent(DebuggerEvent::EventType type); | 565 void SignalIsolateEvent(DebuggerEvent::EventType type); |
| 566 static void SignalIsolateInterrupted(); | 566 static void SignalIsolateInterrupted(); |
| 567 | 567 |
| 568 uword GetPatchedStubAddress(uword breakpoint_address); | 568 uword GetPatchedStubAddress(uword breakpoint_address); |
| 569 | 569 |
| 570 void PrintBreakpointsToJSONArray(JSONArray* jsarr) const; | 570 void PrintBreakpointsToJSONArray(JSONArray* jsarr) const; |
| 571 void PrintSettingsToJSONObject(JSONObject* jsobj) const; | 571 void PrintSettingsToJSONObject(JSONObject* jsobj) const; |
| 572 | 572 |
| 573 static bool IsDebuggable(const Function& func); | 573 static bool IsDebuggable(const Function& func); |
| 574 | 574 |
| 575 intptr_t limitBreakpointId() { return next_id_; } |
| 576 |
| 575 private: | 577 private: |
| 576 enum ResumeAction { | 578 enum ResumeAction { |
| 577 kContinue, | 579 kContinue, |
| 578 kStepOver, | 580 kStepOver, |
| 579 kStepOut, | 581 kStepOut, |
| 580 kSingleStep | 582 kSingleStep |
| 581 }; | 583 }; |
| 582 | 584 |
| 583 static bool HasEventHandler(); | 585 static bool HasEventHandler(); |
| 584 void InvokeEventHandler(DebuggerEvent* event); | 586 void InvokeEventHandler(DebuggerEvent* event); |
| (...skipping 105 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 690 | 692 |
| 691 friend class Isolate; | 693 friend class Isolate; |
| 692 friend class BreakpointLocation; | 694 friend class BreakpointLocation; |
| 693 DISALLOW_COPY_AND_ASSIGN(Debugger); | 695 DISALLOW_COPY_AND_ASSIGN(Debugger); |
| 694 }; | 696 }; |
| 695 | 697 |
| 696 | 698 |
| 697 } // namespace dart | 699 } // namespace dart |
| 698 | 700 |
| 699 #endif // VM_DEBUGGER_H_ | 701 #endif // VM_DEBUGGER_H_ |
| OLD | NEW |