Chromium Code Reviews| 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(const Context& ctx); | 162 RawContext* GetSavedCallerContext(const Context& ctx); |
|
siva
2013/04/30 18:46:50
I would call this GetSavedEntryContext() to match
hausner
2013/04/30 19:38:54
Done.
| |
| 163 RawContext* GetSavedCurrentContext(); | |
| 163 | 164 |
| 164 private: | 165 private: |
| 165 intptr_t PcDescIndex(); | 166 intptr_t PcDescIndex(); |
| 166 intptr_t TryIndex(); | 167 intptr_t TryIndex(); |
| 167 void GetPcDescriptors(); | 168 void GetPcDescriptors(); |
| 168 void GetVarDescriptors(); | 169 void GetVarDescriptors(); |
| 169 void GetDescIndices(); | 170 void GetDescIndices(); |
| 170 RawInstance* GetLocalVarValue(intptr_t slot_index); | 171 RawInstance* GetLocalVarValue(intptr_t slot_index); |
| 171 RawInstance* GetInstanceCallReceiver(intptr_t num_actual_args); | 172 RawInstance* GetInstanceCallReceiver(intptr_t num_actual_args); |
| 172 | 173 |
| (...skipping 211 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 384 | 385 |
| 385 friend class Isolate; | 386 friend class Isolate; |
| 386 friend class SourceBreakpoint; | 387 friend class SourceBreakpoint; |
| 387 DISALLOW_COPY_AND_ASSIGN(Debugger); | 388 DISALLOW_COPY_AND_ASSIGN(Debugger); |
| 388 }; | 389 }; |
| 389 | 390 |
| 390 | 391 |
| 391 } // namespace dart | 392 } // namespace dart |
| 392 | 393 |
| 393 #endif // VM_DEBUGGER_H_ | 394 #endif // VM_DEBUGGER_H_ |
| OLD | NEW |