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 111 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
122 | 122 |
123 uword pc() const { return pc_; } | 123 uword pc() const { return pc_; } |
124 uword fp() const { return fp_; } | 124 uword fp() const { return fp_; } |
125 uword sp() const { return sp_; } | 125 uword sp() const { return sp_; } |
126 | 126 |
127 const Function& DartFunction(); | 127 const Function& DartFunction(); |
128 RawString* QualifiedFunctionName(); | 128 RawString* QualifiedFunctionName(); |
129 RawString* SourceUrl(); | 129 RawString* SourceUrl(); |
130 RawScript* SourceScript(); | 130 RawScript* SourceScript(); |
131 RawLibrary* Library(); | 131 RawLibrary* Library(); |
132 intptr_t TokenIndex(); | 132 intptr_t TokenPos(); |
133 intptr_t LineNumber(); | 133 intptr_t LineNumber(); |
134 | 134 |
135 // The context level of a frame is the context level at the | 135 // The context level of a frame is the context level at the |
136 // PC/token index of the frame. It determines the depth of the context | 136 // PC/token index of the frame. It determines the depth of the context |
137 // chain that belongs to the function of this activation frame. | 137 // chain that belongs to the function of this activation frame. |
138 intptr_t ContextLevel(); | 138 intptr_t ContextLevel(); |
139 | 139 |
140 const char* ToCString(); | 140 const char* ToCString(); |
141 | 141 |
142 intptr_t NumLocalVariables(); | 142 intptr_t NumLocalVariables(); |
(...skipping 212 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
355 intptr_t exc_pause_info_; | 355 intptr_t exc_pause_info_; |
356 | 356 |
357 friend class SourceBreakpoint; | 357 friend class SourceBreakpoint; |
358 DISALLOW_COPY_AND_ASSIGN(Debugger); | 358 DISALLOW_COPY_AND_ASSIGN(Debugger); |
359 }; | 359 }; |
360 | 360 |
361 | 361 |
362 } // namespace dart | 362 } // namespace dart |
363 | 363 |
364 #endif // VM_DEBUGGER_H_ | 364 #endif // VM_DEBUGGER_H_ |
OLD | NEW |