Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(213)

Side by Side Diff: runtime/vm/debugger.h

Issue 14503003: Fix context-allocated variables in stack traces (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 7 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | runtime/vm/debugger.cc » ('j') | runtime/vm/debugger.cc » ('J')
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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(); 162 RawContext* GetSavedContext(const Context& ctx);
163 163
164 private: 164 private:
165 intptr_t PcDescIndex(); 165 intptr_t PcDescIndex();
166 intptr_t TryIndex(); 166 intptr_t TryIndex();
167 void GetPcDescriptors(); 167 void GetPcDescriptors();
168 void GetVarDescriptors(); 168 void GetVarDescriptors();
169 void GetDescIndices(); 169 void GetDescIndices();
170 RawInstance* GetLocalVarValue(intptr_t slot_index); 170 RawInstance* GetLocalVarValue(intptr_t slot_index);
171 RawInstance* GetInstanceCallReceiver(intptr_t num_actual_args); 171 RawInstance* GetInstanceCallReceiver(intptr_t num_actual_args);
172 172
(...skipping 211 matching lines...) Expand 10 before | Expand all | Expand 10 after
384 384
385 friend class Isolate; 385 friend class Isolate;
386 friend class SourceBreakpoint; 386 friend class SourceBreakpoint;
387 DISALLOW_COPY_AND_ASSIGN(Debugger); 387 DISALLOW_COPY_AND_ASSIGN(Debugger);
388 }; 388 };
389 389
390 390
391 } // namespace dart 391 } // namespace dart
392 392
393 #endif // VM_DEBUGGER_H_ 393 #endif // VM_DEBUGGER_H_
OLDNEW
« no previous file with comments | « no previous file | runtime/vm/debugger.cc » ('j') | runtime/vm/debugger.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698