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

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

Issue 9668036: Teach debugger to ignore breakpoints (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 8 years, 9 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 "vm/object.h" 8 #include "vm/object.h"
9 9
10 namespace dart { 10 namespace dart {
(...skipping 244 matching lines...) Expand 10 before | Expand all | Expand 10 after
255 255
256 Isolate* isolate_; 256 Isolate* isolate_;
257 bool initialized_; 257 bool initialized_;
258 BreakpointHandler* bp_handler_; 258 BreakpointHandler* bp_handler_;
259 SourceBreakpoint* src_breakpoints_; 259 SourceBreakpoint* src_breakpoints_;
260 CodeBreakpoint* code_breakpoints_; 260 CodeBreakpoint* code_breakpoints_;
261 261
262 // Tells debugger what to do when resuming execution after a breakpoint. 262 // Tells debugger what to do when resuming execution after a breakpoint.
263 ResumeAction resume_action_; 263 ResumeAction resume_action_;
264 264
265 // Do not call back to breakpoint handler if this flag is set.
266 // Effectively this means ignoring breakpoints. Set when Dart code may
267 // be run as a side effect of getting values of fields.
268 bool ignore_breakpoints_;
269
265 friend class SourceBreakpoint; 270 friend class SourceBreakpoint;
266 DISALLOW_COPY_AND_ASSIGN(Debugger); 271 DISALLOW_COPY_AND_ASSIGN(Debugger);
267 }; 272 };
268 273
269 274
270 } // namespace dart 275 } // namespace dart
271 276
272 #endif // VM_DEBUGGER_H_ 277 #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