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 156 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
167 intptr_t ContextLevel(); | 167 intptr_t ContextLevel(); |
168 | 168 |
169 const char* ToCString(); | 169 const char* ToCString(); |
170 | 170 |
171 intptr_t NumLocalVariables(); | 171 intptr_t NumLocalVariables(); |
172 | 172 |
173 void VariableAt(intptr_t i, | 173 void VariableAt(intptr_t i, |
174 String* name, | 174 String* name, |
175 intptr_t* token_pos, | 175 intptr_t* token_pos, |
176 intptr_t* end_pos, | 176 intptr_t* end_pos, |
177 Instance* value); | 177 Object* value); |
178 | 178 |
179 RawArray* GetLocalVariables(); | 179 RawArray* GetLocalVariables(); |
180 RawObject* GetReceiver(); | 180 RawObject* GetReceiver(); |
181 | 181 |
182 RawContext* GetSavedCurrentContext(); | 182 RawContext* GetSavedCurrentContext(); |
183 | 183 |
184 RawObject* Evaluate(const String& expr); | 184 RawObject* Evaluate(const String& expr); |
185 | 185 |
186 void PrintToJSONObject(JSONObject* jsobj); | 186 void PrintToJSONObject(JSONObject* jsobj); |
187 | 187 |
(...skipping 354 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
542 | 542 |
543 friend class Isolate; | 543 friend class Isolate; |
544 friend class SourceBreakpoint; | 544 friend class SourceBreakpoint; |
545 DISALLOW_COPY_AND_ASSIGN(Debugger); | 545 DISALLOW_COPY_AND_ASSIGN(Debugger); |
546 }; | 546 }; |
547 | 547 |
548 | 548 |
549 } // namespace dart | 549 } // namespace dart |
550 | 550 |
551 #endif // VM_DEBUGGER_H_ | 551 #endif // VM_DEBUGGER_H_ |
OLD | NEW |