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 332 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
343 // Returns NULL if no breakpoint exists for the given address. | 343 // Returns NULL if no breakpoint exists for the given address. |
344 CodeBreakpoint* GetCodeBreakpoint(uword breakpoint_address); | 344 CodeBreakpoint* GetCodeBreakpoint(uword breakpoint_address); |
345 | 345 |
346 void SyncBreakpoint(SourceBreakpoint* bpt); | 346 void SyncBreakpoint(SourceBreakpoint* bpt); |
347 | 347 |
348 ActivationFrame* TopDartFrame() const; | 348 ActivationFrame* TopDartFrame() const; |
349 static DebuggerStackTrace* CollectStackTrace(); | 349 static DebuggerStackTrace* CollectStackTrace(); |
350 void SignalBpResolved(SourceBreakpoint *bpt); | 350 void SignalBpResolved(SourceBreakpoint *bpt); |
351 void SignalPausedEvent(ActivationFrame* top_frame); | 351 void SignalPausedEvent(ActivationFrame* top_frame); |
352 | 352 |
353 bool IsDebuggable(const Function& func); | 353 static bool IsDebuggable(const Function& func); |
354 | 354 |
355 intptr_t nextId() { return next_id_++; } | 355 intptr_t nextId() { return next_id_++; } |
356 | 356 |
357 bool ShouldPauseOnException(DebuggerStackTrace* stack_trace, | 357 bool ShouldPauseOnException(DebuggerStackTrace* stack_trace, |
358 const Instance& exc); | 358 const Instance& exc); |
359 | 359 |
360 void CollectLibraryFields(const GrowableObjectArray& field_list, | 360 void CollectLibraryFields(const GrowableObjectArray& field_list, |
361 const Library& lib, | 361 const Library& lib, |
362 const String& prefix, | 362 const String& prefix, |
363 bool include_private_fields); | 363 bool include_private_fields); |
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
395 | 395 |
396 friend class Isolate; | 396 friend class Isolate; |
397 friend class SourceBreakpoint; | 397 friend class SourceBreakpoint; |
398 DISALLOW_COPY_AND_ASSIGN(Debugger); | 398 DISALLOW_COPY_AND_ASSIGN(Debugger); |
399 }; | 399 }; |
400 | 400 |
401 | 401 |
402 } // namespace dart | 402 } // namespace dart |
403 | 403 |
404 #endif // VM_DEBUGGER_H_ | 404 #endif // VM_DEBUGGER_H_ |
OLD | NEW |