| 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 141 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 152 | 152 |
| 153 intptr_t NumLocalVariables(); | 153 intptr_t NumLocalVariables(); |
| 154 | 154 |
| 155 void VariableAt(intptr_t i, | 155 void VariableAt(intptr_t i, |
| 156 String* name, | 156 String* name, |
| 157 intptr_t* token_pos, | 157 intptr_t* token_pos, |
| 158 intptr_t* end_pos, | 158 intptr_t* end_pos, |
| 159 Instance* value); | 159 Instance* value); |
| 160 | 160 |
| 161 RawArray* GetLocalVariables(); | 161 RawArray* GetLocalVariables(); |
| 162 RawContext* GetSavedContext(); | 162 RawContext* GetSavedContext(const Context& ctx); |
| 163 | 163 |
| 164 private: | 164 private: |
| 165 intptr_t PcDescIndex(); | 165 intptr_t PcDescIndex(); |
| 166 intptr_t TryIndex(); | 166 intptr_t TryIndex(); |
| 167 void GetPcDescriptors(); | 167 void GetPcDescriptors(); |
| 168 void GetVarDescriptors(); | 168 void GetVarDescriptors(); |
| 169 void GetDescIndices(); | 169 void GetDescIndices(); |
| 170 RawInstance* GetLocalVarValue(intptr_t slot_index); | 170 RawInstance* GetLocalVarValue(intptr_t slot_index); |
| 171 RawInstance* GetInstanceCallReceiver(intptr_t num_actual_args); | 171 RawInstance* GetInstanceCallReceiver(intptr_t num_actual_args); |
| 172 | 172 |
| (...skipping 211 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 384 | 384 |
| 385 friend class Isolate; | 385 friend class Isolate; |
| 386 friend class SourceBreakpoint; | 386 friend class SourceBreakpoint; |
| 387 DISALLOW_COPY_AND_ASSIGN(Debugger); | 387 DISALLOW_COPY_AND_ASSIGN(Debugger); |
| 388 }; | 388 }; |
| 389 | 389 |
| 390 | 390 |
| 391 } // namespace dart | 391 } // namespace dart |
| 392 | 392 |
| 393 #endif // VM_DEBUGGER_H_ | 393 #endif // VM_DEBUGGER_H_ |
| OLD | NEW |