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 RUNTIME_VM_DEBUGGER_H_ | 5 #ifndef RUNTIME_VM_DEBUGGER_H_ |
6 #define RUNTIME_VM_DEBUGGER_H_ | 6 #define RUNTIME_VM_DEBUGGER_H_ |
7 | 7 |
8 #include "include/dart_tools_api.h" | 8 #include "include/dart_tools_api.h" |
9 | 9 |
10 #include "vm/object.h" | 10 #include "vm/object.h" |
(...skipping 310 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
321 Object* value); | 321 Object* value); |
322 | 322 |
323 RawArray* GetLocalVariables(); | 323 RawArray* GetLocalVariables(); |
324 RawObject* GetParameter(intptr_t index); | 324 RawObject* GetParameter(intptr_t index); |
325 RawObject* GetClosure(); | 325 RawObject* GetClosure(); |
326 RawObject* GetReceiver(); | 326 RawObject* GetReceiver(); |
327 | 327 |
328 const Context& GetSavedCurrentContext(); | 328 const Context& GetSavedCurrentContext(); |
329 RawObject* GetAsyncOperation(); | 329 RawObject* GetAsyncOperation(); |
330 | 330 |
331 RawObject* Evaluate(const String& expr); | 331 RawObject* Evaluate(const String& expr, |
| 332 const GrowableObjectArray& names, |
| 333 const GrowableObjectArray& values); |
332 | 334 |
333 // Print the activation frame into |jsobj|. if |full| is false, script | 335 // Print the activation frame into |jsobj|. if |full| is false, script |
334 // and local variable objects are only references. if |full| is true, | 336 // and local variable objects are only references. if |full| is true, |
335 // the complete script, function, and, local variable objects are included. | 337 // the complete script, function, and, local variable objects are included. |
336 void PrintToJSONObject(JSONObject* jsobj, bool full = false); | 338 void PrintToJSONObject(JSONObject* jsobj, bool full = false); |
337 | 339 |
338 RawObject* GetAsyncAwaiter(); | 340 RawObject* GetAsyncAwaiter(); |
339 RawObject* GetCausalStack(); | 341 RawObject* GetCausalStack(); |
340 | 342 |
341 bool HandlesException(const Instance& exc_obj); | 343 bool HandlesException(const Instance& exc_obj); |
(...skipping 442 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
784 | 786 |
785 friend class Isolate; | 787 friend class Isolate; |
786 friend class BreakpointLocation; | 788 friend class BreakpointLocation; |
787 DISALLOW_COPY_AND_ASSIGN(Debugger); | 789 DISALLOW_COPY_AND_ASSIGN(Debugger); |
788 }; | 790 }; |
789 | 791 |
790 | 792 |
791 } // namespace dart | 793 } // namespace dart |
792 | 794 |
793 #endif // RUNTIME_VM_DEBUGGER_H_ | 795 #endif // RUNTIME_VM_DEBUGGER_H_ |
OLD | NEW |