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_tools_api.h" | 8 #include "include/dart_tools_api.h" |
9 | 9 |
10 #include "vm/object.h" | 10 #include "vm/object.h" |
(...skipping 267 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
278 // PC/token index of the frame. It determines the depth of the context | 278 // PC/token index of the frame. It determines the depth of the context |
279 // chain that belongs to the function of this activation frame. | 279 // chain that belongs to the function of this activation frame. |
280 intptr_t ContextLevel(); | 280 intptr_t ContextLevel(); |
281 | 281 |
282 const char* ToCString(); | 282 const char* ToCString(); |
283 | 283 |
284 intptr_t NumLocalVariables(); | 284 intptr_t NumLocalVariables(); |
285 | 285 |
286 void VariableAt(intptr_t i, | 286 void VariableAt(intptr_t i, |
287 String* name, | 287 String* name, |
288 TokenPosition* token_pos, | 288 TokenPosition* declaration_token_pos, |
289 TokenPosition* end_pos, | 289 TokenPosition* visible_start_token_pos, |
| 290 TokenPosition* visible_end_token_pos, |
290 Object* value); | 291 Object* value); |
291 | 292 |
292 RawArray* GetLocalVariables(); | 293 RawArray* GetLocalVariables(); |
293 RawObject* GetParameter(intptr_t index); | 294 RawObject* GetParameter(intptr_t index); |
294 RawObject* GetClosure(); | 295 RawObject* GetClosure(); |
295 RawObject* GetReceiver(); | 296 RawObject* GetReceiver(); |
296 | 297 |
297 const Context& GetSavedCurrentContext(); | 298 const Context& GetSavedCurrentContext(); |
298 RawObject* GetAsyncOperation(); | 299 RawObject* GetAsyncOperation(); |
299 | 300 |
(...skipping 348 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
648 | 649 |
649 friend class Isolate; | 650 friend class Isolate; |
650 friend class BreakpointLocation; | 651 friend class BreakpointLocation; |
651 DISALLOW_COPY_AND_ASSIGN(Debugger); | 652 DISALLOW_COPY_AND_ASSIGN(Debugger); |
652 }; | 653 }; |
653 | 654 |
654 | 655 |
655 } // namespace dart | 656 } // namespace dart |
656 | 657 |
657 #endif // VM_DEBUGGER_H_ | 658 #endif // VM_DEBUGGER_H_ |
OLD | NEW |