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 152 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
163 RawContext* GetSavedCurrentContext(); | 163 RawContext* GetSavedCurrentContext(); |
164 | 164 |
165 private: | 165 private: |
166 intptr_t PcDescIndex(); | 166 intptr_t PcDescIndex(); |
167 intptr_t TryIndex(); | 167 intptr_t TryIndex(); |
168 void GetPcDescriptors(); | 168 void GetPcDescriptors(); |
169 void GetVarDescriptors(); | 169 void GetVarDescriptors(); |
170 void GetDescIndices(); | 170 void GetDescIndices(); |
171 RawInstance* GetLocalVarValue(intptr_t slot_index); | 171 RawInstance* GetLocalVarValue(intptr_t slot_index); |
172 RawInstance* GetInstanceCallReceiver(intptr_t num_actual_args); | 172 RawInstance* GetInstanceCallReceiver(intptr_t num_actual_args); |
| 173 RawObject* GetClosureObject(intptr_t num_acatual_args); |
173 | 174 |
174 uword pc_; | 175 uword pc_; |
175 uword fp_; | 176 uword fp_; |
176 uword sp_; | 177 uword sp_; |
177 | 178 |
178 // The anchor of the context chain for this function. | 179 // The anchor of the context chain for this function. |
179 Context& ctx_; | 180 Context& ctx_; |
180 const Code& code_; | 181 const Code& code_; |
181 const Function& function_; | 182 const Function& function_; |
182 intptr_t token_pos_; | 183 intptr_t token_pos_; |
(...skipping 202 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
385 | 386 |
386 friend class Isolate; | 387 friend class Isolate; |
387 friend class SourceBreakpoint; | 388 friend class SourceBreakpoint; |
388 DISALLOW_COPY_AND_ASSIGN(Debugger); | 389 DISALLOW_COPY_AND_ASSIGN(Debugger); |
389 }; | 390 }; |
390 | 391 |
391 | 392 |
392 } // namespace dart | 393 } // namespace dart |
393 | 394 |
394 #endif // VM_DEBUGGER_H_ | 395 #endif // VM_DEBUGGER_H_ |
OLD | NEW |