Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(260)

Side by Side Diff: runtime/vm/debugger.h

Issue 2777093006: Implement debugger support for async step-out (Closed)
Patch Set: Created 3 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 469 matching lines...) Expand 10 before | Expand all | Expand 10 after
480 480
481 BreakpointLocation* BreakpointLocationAtLineCol(const String& script_url, 481 BreakpointLocation* BreakpointLocationAtLineCol(const String& script_url,
482 intptr_t line_number, 482 intptr_t line_number,
483 intptr_t column_number); 483 intptr_t column_number);
484 484
485 485
486 void RemoveBreakpoint(intptr_t bp_id); 486 void RemoveBreakpoint(intptr_t bp_id);
487 Breakpoint* GetBreakpointById(intptr_t id); 487 Breakpoint* GetBreakpointById(intptr_t id);
488 488
489 void MaybeAsyncStepInto(const Closure& async_op); 489 void MaybeAsyncStepInto(const Closure& async_op);
490 void AsyncStepInto(const Closure& async_op);
490 491
491 void Continue(); 492 void Continue();
492 493
493 bool SetResumeAction(ResumeAction action, 494 bool SetResumeAction(ResumeAction action,
494 intptr_t frame_index = 1, 495 intptr_t frame_index = 1,
495 const char** error = NULL); 496 const char** error = NULL);
496 497
497 bool IsStepping() const { return resume_action_ != kContinue; } 498 bool IsStepping() const { return resume_action_ != kContinue; }
498 499
499 bool IsSingleStepping() const { return resume_action_ == kStepInto; } 500 bool IsSingleStepping() const { return resume_action_ == kStepInto; }
(...skipping 263 matching lines...) Expand 10 before | Expand all | Expand 10 after
763 764
764 friend class Isolate; 765 friend class Isolate;
765 friend class BreakpointLocation; 766 friend class BreakpointLocation;
766 DISALLOW_COPY_AND_ASSIGN(Debugger); 767 DISALLOW_COPY_AND_ASSIGN(Debugger);
767 }; 768 };
768 769
769 770
770 } // namespace dart 771 } // namespace dart
771 772
772 #endif // RUNTIME_VM_DEBUGGER_H_ 773 #endif // RUNTIME_VM_DEBUGGER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698