| 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 BreakHere(); | 445 void BreakHere(const String& msg); |
| 446 | 446 |
| 447 void SignalExceptionThrown(const Instance& exc); | 447 void SignalExceptionThrown(const Instance& exc); |
| 448 void SignalIsolateEvent(DebuggerEvent::EventType type); | 448 void SignalIsolateEvent(DebuggerEvent::EventType type); |
| 449 static void SignalIsolateInterrupted(); | 449 static void SignalIsolateInterrupted(); |
| 450 | 450 |
| 451 uword GetPatchedStubAddress(uword breakpoint_address); | 451 uword GetPatchedStubAddress(uword breakpoint_address); |
| 452 | 452 |
| 453 void PrintBreakpointsToJSONArray(JSONArray* jsarr) const; | 453 void PrintBreakpointsToJSONArray(JSONArray* jsarr) const; |
| 454 | 454 |
| 455 static bool IsDebuggable(const Function& func); | 455 static bool IsDebuggable(const Function& func); |
| (...skipping 110 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 566 | 566 |
| 567 friend class Isolate; | 567 friend class Isolate; |
| 568 friend class SourceBreakpoint; | 568 friend class SourceBreakpoint; |
| 569 DISALLOW_COPY_AND_ASSIGN(Debugger); | 569 DISALLOW_COPY_AND_ASSIGN(Debugger); |
| 570 }; | 570 }; |
| 571 | 571 |
| 572 | 572 |
| 573 } // namespace dart | 573 } // namespace dart |
| 574 | 574 |
| 575 #endif // VM_DEBUGGER_H_ | 575 #endif // VM_DEBUGGER_H_ |
| OLD | NEW |