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

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

Issue 14858033: Implement breakpoint for closure calls (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 7 years, 7 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 | « runtime/vm/code_patcher_x64.cc ('k') | runtime/vm/debugger.cc » ('j') | no next file with comments »
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 152 matching lines...) Expand 10 before | Expand all | Expand 10 after
163 RawContext* GetSavedCurrentContext(); 163 RawContext* GetSavedCurrentContext();
164 164
165 private: 165 private:
166 intptr_t PcDescIndex(); 166 intptr_t PcDescIndex();
167 intptr_t TryIndex(); 167 intptr_t TryIndex();
168 void GetPcDescriptors(); 168 void GetPcDescriptors();
169 void GetVarDescriptors(); 169 void GetVarDescriptors();
170 void GetDescIndices(); 170 void GetDescIndices();
171 RawInstance* GetLocalVarValue(intptr_t slot_index); 171 RawInstance* GetLocalVarValue(intptr_t slot_index);
172 RawInstance* GetInstanceCallReceiver(intptr_t num_actual_args); 172 RawInstance* GetInstanceCallReceiver(intptr_t num_actual_args);
173 RawObject* GetClosureObject(intptr_t num_acatual_args);
173 174
174 uword pc_; 175 uword pc_;
175 uword fp_; 176 uword fp_;
176 uword sp_; 177 uword sp_;
177 178
178 // The anchor of the context chain for this function. 179 // The anchor of the context chain for this function.
179 Context& ctx_; 180 Context& ctx_;
180 const Code& code_; 181 const Code& code_;
181 const Function& function_; 182 const Function& function_;
182 intptr_t token_pos_; 183 intptr_t token_pos_;
(...skipping 202 matching lines...) Expand 10 before | Expand all | Expand 10 after
385 386
386 friend class Isolate; 387 friend class Isolate;
387 friend class SourceBreakpoint; 388 friend class SourceBreakpoint;
388 DISALLOW_COPY_AND_ASSIGN(Debugger); 389 DISALLOW_COPY_AND_ASSIGN(Debugger);
389 }; 390 };
390 391
391 392
392 } // namespace dart 393 } // namespace dart
393 394
394 #endif // VM_DEBUGGER_H_ 395 #endif // VM_DEBUGGER_H_
OLDNEW
« no previous file with comments | « runtime/vm/code_patcher_x64.cc ('k') | runtime/vm/debugger.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698