| 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 234 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 245 intptr_t line_number); | 245 intptr_t line_number); |
| 246 | 246 |
| 247 void RemoveBreakpoint(intptr_t bp_id); | 247 void RemoveBreakpoint(intptr_t bp_id); |
| 248 SourceBreakpoint* GetBreakpointById(intptr_t id); | 248 SourceBreakpoint* GetBreakpointById(intptr_t id); |
| 249 | 249 |
| 250 void SetStepOver() { resume_action_ = kStepOver; } | 250 void SetStepOver() { resume_action_ = kStepOver; } |
| 251 void SetStepInto() { resume_action_ = kStepInto; } | 251 void SetStepInto() { resume_action_ = kStepInto; } |
| 252 void SetStepOut() { resume_action_ = kStepOut; } | 252 void SetStepOut() { resume_action_ = kStepOut; } |
| 253 | 253 |
| 254 void SetExceptionPauseInfo(Dart_ExceptionPauseInfo pause_info); | 254 void SetExceptionPauseInfo(Dart_ExceptionPauseInfo pause_info); |
| 255 Dart_ExceptionPauseInfo GetExceptionPauseInfo(); |
| 255 | 256 |
| 256 void VisitObjectPointers(ObjectPointerVisitor* visitor); | 257 void VisitObjectPointers(ObjectPointerVisitor* visitor); |
| 257 | 258 |
| 258 // Called from Runtime when a breakpoint in Dart code is reached. | 259 // Called from Runtime when a breakpoint in Dart code is reached. |
| 259 void BreakpointCallback(); | 260 void BreakpointCallback(); |
| 260 | 261 |
| 261 DebuggerStackTrace* StackTrace() const { return stack_trace_; } | 262 DebuggerStackTrace* StackTrace() const { return stack_trace_; } |
| 262 | 263 |
| 263 RawArray* GetInstanceFields(const Instance& obj); | 264 RawArray* GetInstanceFields(const Instance& obj); |
| 264 RawArray* GetStaticFields(const Class& cls); | 265 RawArray* GetStaticFields(const Class& cls); |
| (...skipping 90 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 355 intptr_t exc_pause_info_; | 356 intptr_t exc_pause_info_; |
| 356 | 357 |
| 357 friend class SourceBreakpoint; | 358 friend class SourceBreakpoint; |
| 358 DISALLOW_COPY_AND_ASSIGN(Debugger); | 359 DISALLOW_COPY_AND_ASSIGN(Debugger); |
| 359 }; | 360 }; |
| 360 | 361 |
| 361 | 362 |
| 362 } // namespace dart | 363 } // namespace dart |
| 363 | 364 |
| 364 #endif // VM_DEBUGGER_H_ | 365 #endif // VM_DEBUGGER_H_ |
| OLD | NEW |