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 181 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
192 intptr_t var_ctx_level); | 192 intptr_t var_ctx_level); |
193 | 193 |
194 intptr_t TryIndex(); | 194 intptr_t TryIndex(); |
195 void GetPcDescriptors(); | 195 void GetPcDescriptors(); |
196 void GetVarDescriptors(); | 196 void GetVarDescriptors(); |
197 void GetDescIndices(); | 197 void GetDescIndices(); |
198 | 198 |
199 RawObject* GetLocalVar(intptr_t slot_index); | 199 RawObject* GetLocalVar(intptr_t slot_index); |
200 RawInstance* GetLocalInstanceVar(intptr_t slot_index); | 200 RawInstance* GetLocalInstanceVar(intptr_t slot_index); |
201 | 201 |
202 RawInstance* GetLocalVarValue(intptr_t slot_index); | |
203 RawInstance* GetInstanceCallReceiver(intptr_t num_actual_args); | |
204 RawObject* GetClosureObject(intptr_t num_acatual_args); | |
205 | |
206 uword pc_; | 202 uword pc_; |
207 uword fp_; | 203 uword fp_; |
208 uword sp_; | 204 uword sp_; |
209 | 205 |
210 // The anchor of the context chain for this function. | 206 // The anchor of the context chain for this function. |
211 Context& ctx_; | 207 Context& ctx_; |
212 const Code& code_; | 208 const Code& code_; |
213 const Function& function_; | 209 const Function& function_; |
214 bool token_pos_initialized_; | 210 bool token_pos_initialized_; |
215 intptr_t token_pos_; | 211 intptr_t token_pos_; |
(...skipping 330 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
546 | 542 |
547 friend class Isolate; | 543 friend class Isolate; |
548 friend class SourceBreakpoint; | 544 friend class SourceBreakpoint; |
549 DISALLOW_COPY_AND_ASSIGN(Debugger); | 545 DISALLOW_COPY_AND_ASSIGN(Debugger); |
550 }; | 546 }; |
551 | 547 |
552 | 548 |
553 } // namespace dart | 549 } // namespace dart |
554 | 550 |
555 #endif // VM_DEBUGGER_H_ | 551 #endif // VM_DEBUGGER_H_ |
OLD | NEW |