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

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

Issue 106053011: Make return statements single steppable (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 6 years, 11 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/assembler_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 84 matching lines...) Expand 10 before | Expand all | Expand 10 after
95 95
96 SourceBreakpoint* src_bpt() const { return src_bpt_; } 96 SourceBreakpoint* src_bpt() const { return src_bpt_; }
97 void set_src_bpt(SourceBreakpoint* value) { src_bpt_ = value; } 97 void set_src_bpt(SourceBreakpoint* value) { src_bpt_ = value; }
98 98
99 void set_next(CodeBreakpoint* value) { next_ = value; } 99 void set_next(CodeBreakpoint* value) { next_ = value; }
100 CodeBreakpoint* next() const { return this->next_; } 100 CodeBreakpoint* next() const { return this->next_; }
101 intptr_t pc_desc_index() const { return pc_desc_index_; } 101 intptr_t pc_desc_index() const { return pc_desc_index_; }
102 102
103 void PatchCode(); 103 void PatchCode();
104 void RestoreCode(); 104 void RestoreCode();
105 void PatchFunctionReturn();
106 void RestoreFunctionReturn();
107 105
108 RawFunction* function_; 106 RawFunction* function_;
109 intptr_t pc_desc_index_; 107 intptr_t pc_desc_index_;
110 intptr_t token_pos_; 108 intptr_t token_pos_;
111 uword pc_; 109 uword pc_;
112 intptr_t line_number_; 110 intptr_t line_number_;
113 bool is_enabled_; 111 bool is_enabled_;
114 112
115 SourceBreakpoint* src_bpt_; 113 SourceBreakpoint* src_bpt_;
116 CodeBreakpoint* next_; 114 CodeBreakpoint* next_;
(...skipping 358 matching lines...) Expand 10 before | Expand all | Expand 10 after
475 473
476 friend class Isolate; 474 friend class Isolate;
477 friend class SourceBreakpoint; 475 friend class SourceBreakpoint;
478 DISALLOW_COPY_AND_ASSIGN(Debugger); 476 DISALLOW_COPY_AND_ASSIGN(Debugger);
479 }; 477 };
480 478
481 479
482 } // namespace dart 480 } // namespace dart
483 481
484 #endif // VM_DEBUGGER_H_ 482 #endif // VM_DEBUGGER_H_
OLDNEW
« no previous file with comments | « runtime/vm/assembler_x64.cc ('k') | runtime/vm/debugger.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698