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 "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 Loading... |
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_ |
OLD | NEW |