| 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 331 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 342 intptr_t var_ctx_level); | 342 intptr_t var_ctx_level); |
| 343 | 343 |
| 344 intptr_t TryIndex(); | 344 intptr_t TryIndex(); |
| 345 void GetPcDescriptors(); | 345 void GetPcDescriptors(); |
| 346 void GetVarDescriptors(); | 346 void GetVarDescriptors(); |
| 347 void GetDescIndices(); | 347 void GetDescIndices(); |
| 348 | 348 |
| 349 static const char* KindToCString(Kind kind) { | 349 static const char* KindToCString(Kind kind) { |
| 350 switch (kind) { | 350 switch (kind) { |
| 351 case kRegular: | 351 case kRegular: |
| 352 return "kRegular"; | 352 return "Regular"; |
| 353 case kAsyncCausal: | 353 case kAsyncCausal: |
| 354 return "kAsyncCausal"; | 354 return "AsyncCausal"; |
| 355 case kAsyncSuspensionMarker: | 355 case kAsyncSuspensionMarker: |
| 356 return "kAsyncSuspensionMarker"; | 356 return "AsyncSuspensionMarker"; |
| 357 default: | 357 default: |
| 358 UNREACHABLE(); | 358 UNREACHABLE(); |
| 359 return ""; | 359 return ""; |
| 360 } | 360 } |
| 361 } | 361 } |
| 362 | 362 |
| 363 RawObject* GetStackVar(intptr_t slot_index); | 363 RawObject* GetStackVar(intptr_t slot_index); |
| 364 RawObject* GetContextVar(intptr_t ctxt_level, intptr_t slot_index); | 364 RawObject* GetContextVar(intptr_t ctxt_level, intptr_t slot_index); |
| 365 | 365 |
| 366 uword pc_; | 366 uword pc_; |
| (...skipping 371 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 738 | 738 |
| 739 friend class Isolate; | 739 friend class Isolate; |
| 740 friend class BreakpointLocation; | 740 friend class BreakpointLocation; |
| 741 DISALLOW_COPY_AND_ASSIGN(Debugger); | 741 DISALLOW_COPY_AND_ASSIGN(Debugger); |
| 742 }; | 742 }; |
| 743 | 743 |
| 744 | 744 |
| 745 } // namespace dart | 745 } // namespace dart |
| 746 | 746 |
| 747 #endif // RUNTIME_VM_DEBUGGER_H_ | 747 #endif // RUNTIME_VM_DEBUGGER_H_ |
| OLD | NEW |