| 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 "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 303 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 314 | 314 |
| 315 bool IsDebuggable(const Function& func); | 315 bool IsDebuggable(const Function& func); |
| 316 | 316 |
| 317 intptr_t nextId() { return next_id_++; } | 317 intptr_t nextId() { return next_id_++; } |
| 318 | 318 |
| 319 bool ShouldPauseOnException(DebuggerStackTrace* stack_trace, | 319 bool ShouldPauseOnException(DebuggerStackTrace* stack_trace, |
| 320 const Object& exc); | 320 const Object& exc); |
| 321 | 321 |
| 322 void CollectLibraryFields(const GrowableObjectArray& field_list, | 322 void CollectLibraryFields(const GrowableObjectArray& field_list, |
| 323 const Library& lib, | 323 const Library& lib, |
| 324 const String& prefix); | 324 const String& prefix, |
| 325 bool include_private_fields); |
| 325 | 326 |
| 326 Isolate* isolate_; | 327 Isolate* isolate_; |
| 327 bool initialized_; | 328 bool initialized_; |
| 328 BreakpointHandler* bp_handler_; | 329 BreakpointHandler* bp_handler_; |
| 329 EventHandler* event_handler_; | 330 EventHandler* event_handler_; |
| 330 | 331 |
| 331 // ID number generator. | 332 // ID number generator. |
| 332 intptr_t next_id_; | 333 intptr_t next_id_; |
| 333 | 334 |
| 334 // Current stack trace. Valid while executing breakpoint callback code. | 335 // Current stack trace. Valid while executing breakpoint callback code. |
| (...skipping 19 matching lines...) Expand all Loading... |
| 354 intptr_t exc_pause_info_; | 355 intptr_t exc_pause_info_; |
| 355 | 356 |
| 356 friend class SourceBreakpoint; | 357 friend class SourceBreakpoint; |
| 357 DISALLOW_COPY_AND_ASSIGN(Debugger); | 358 DISALLOW_COPY_AND_ASSIGN(Debugger); |
| 358 }; | 359 }; |
| 359 | 360 |
| 360 | 361 |
| 361 } // namespace dart | 362 } // namespace dart |
| 362 | 363 |
| 363 #endif // VM_DEBUGGER_H_ | 364 #endif // VM_DEBUGGER_H_ |
| OLD | NEW |