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 335 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
346 | 346 |
347 void PrintContextMismatchError(intptr_t ctx_slot, | 347 void PrintContextMismatchError(intptr_t ctx_slot, |
348 intptr_t frame_ctx_level, | 348 intptr_t frame_ctx_level, |
349 intptr_t var_ctx_level); | 349 intptr_t var_ctx_level); |
350 | 350 |
351 intptr_t TryIndex(); | 351 intptr_t TryIndex(); |
352 void GetPcDescriptors(); | 352 void GetPcDescriptors(); |
353 void GetVarDescriptors(); | 353 void GetVarDescriptors(); |
354 void GetDescIndices(); | 354 void GetDescIndices(); |
355 | 355 |
| 356 RawObject* GetAsyncContextVariable(const String& name); |
356 RawObject* GetAsyncStreamControllerStreamAwaiter(const Object& stream); | 357 RawObject* GetAsyncStreamControllerStreamAwaiter(const Object& stream); |
357 RawObject* GetAsyncStreamControllerStream(); | 358 RawObject* GetAsyncStreamControllerStream(); |
358 RawObject* GetAsyncCompleterAwaiter(const Object& completer); | 359 RawObject* GetAsyncCompleterAwaiter(const Object& completer); |
359 RawObject* GetAsyncCompleter(); | 360 RawObject* GetAsyncCompleter(); |
360 void ExtractTokenPositionFromAsyncClosure(); | 361 void ExtractTokenPositionFromAsyncClosure(); |
361 | 362 |
362 static const char* KindToCString(Kind kind) { | 363 static const char* KindToCString(Kind kind) { |
363 switch (kind) { | 364 switch (kind) { |
364 case kRegular: | 365 case kRegular: |
365 return "Regular"; | 366 return "Regular"; |
(...skipping 391 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
757 | 758 |
758 friend class Isolate; | 759 friend class Isolate; |
759 friend class BreakpointLocation; | 760 friend class BreakpointLocation; |
760 DISALLOW_COPY_AND_ASSIGN(Debugger); | 761 DISALLOW_COPY_AND_ASSIGN(Debugger); |
761 }; | 762 }; |
762 | 763 |
763 | 764 |
764 } // namespace dart | 765 } // namespace dart |
765 | 766 |
766 #endif // RUNTIME_VM_DEBUGGER_H_ | 767 #endif // RUNTIME_VM_DEBUGGER_H_ |
OLD | NEW |