| 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 472 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 483 | 483 |
| 484 BreakpointLocation* BreakpointLocationAtLineCol(const String& script_url, | 484 BreakpointLocation* BreakpointLocationAtLineCol(const String& script_url, |
| 485 intptr_t line_number, | 485 intptr_t line_number, |
| 486 intptr_t column_number); | 486 intptr_t column_number); |
| 487 | 487 |
| 488 | 488 |
| 489 void RemoveBreakpoint(intptr_t bp_id); | 489 void RemoveBreakpoint(intptr_t bp_id); |
| 490 Breakpoint* GetBreakpointById(intptr_t id); | 490 Breakpoint* GetBreakpointById(intptr_t id); |
| 491 | 491 |
| 492 void MaybeAsyncStepInto(const Closure& async_op); | 492 void MaybeAsyncStepInto(const Closure& async_op); |
| 493 void AsyncStepInto(const Closure& async_op); |
| 493 | 494 |
| 494 void Continue(); | 495 void Continue(); |
| 495 | 496 |
| 496 bool SetResumeAction(ResumeAction action, | 497 bool SetResumeAction(ResumeAction action, |
| 497 intptr_t frame_index = 1, | 498 intptr_t frame_index = 1, |
| 498 const char** error = NULL); | 499 const char** error = NULL); |
| 499 | 500 |
| 500 bool IsStepping() const { return resume_action_ != kContinue; } | 501 bool IsStepping() const { return resume_action_ != kContinue; } |
| 501 | 502 |
| 502 bool IsSingleStepping() const { return resume_action_ == kStepInto; } | 503 bool IsSingleStepping() const { return resume_action_ == kStepInto; } |
| (...skipping 268 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 771 | 772 |
| 772 friend class Isolate; | 773 friend class Isolate; |
| 773 friend class BreakpointLocation; | 774 friend class BreakpointLocation; |
| 774 DISALLOW_COPY_AND_ASSIGN(Debugger); | 775 DISALLOW_COPY_AND_ASSIGN(Debugger); |
| 775 }; | 776 }; |
| 776 | 777 |
| 777 | 778 |
| 778 } // namespace dart | 779 } // namespace dart |
| 779 | 780 |
| 780 #endif // RUNTIME_VM_DEBUGGER_H_ | 781 #endif // RUNTIME_VM_DEBUGGER_H_ |
| OLD | NEW |