| 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 232 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 243 void NotifyCompilation(const Function& func); | 243 void NotifyCompilation(const Function& func); |
| 244 | 244 |
| 245 RawFunction* ResolveFunction(const Library& library, | 245 RawFunction* ResolveFunction(const Library& library, |
| 246 const String& class_name, | 246 const String& class_name, |
| 247 const String& function_name); | 247 const String& function_name); |
| 248 | 248 |
| 249 // Set breakpoint at closest location to function entry. | 249 // Set breakpoint at closest location to function entry. |
| 250 SourceBreakpoint* SetBreakpointAtEntry(const Function& target_function); | 250 SourceBreakpoint* SetBreakpointAtEntry(const Function& target_function); |
| 251 SourceBreakpoint* SetBreakpointAtLine(const String& script_url, | 251 SourceBreakpoint* SetBreakpointAtLine(const String& script_url, |
| 252 intptr_t line_number); | 252 intptr_t line_number); |
| 253 void OneTimeBreakAtEntry(const Function& target_function); |
| 253 | 254 |
| 254 void RemoveBreakpoint(intptr_t bp_id); | 255 void RemoveBreakpoint(intptr_t bp_id); |
| 255 SourceBreakpoint* GetBreakpointById(intptr_t id); | 256 SourceBreakpoint* GetBreakpointById(intptr_t id); |
| 256 | 257 |
| 257 void SetStepOver() { resume_action_ = kStepOver; } | 258 void SetStepOver() { resume_action_ = kStepOver; } |
| 258 void SetStepInto() { resume_action_ = kStepInto; } | 259 void SetStepInto() { resume_action_ = kStepInto; } |
| 259 void SetStepOut() { resume_action_ = kStepOut; } | 260 void SetStepOut() { resume_action_ = kStepOut; } |
| 260 | 261 |
| 261 void SetExceptionPauseInfo(Dart_ExceptionPauseInfo pause_info); | 262 void SetExceptionPauseInfo(Dart_ExceptionPauseInfo pause_info); |
| 262 Dart_ExceptionPauseInfo GetExceptionPauseInfo(); | 263 Dart_ExceptionPauseInfo GetExceptionPauseInfo(); |
| (...skipping 112 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 375 static EventHandler* event_handler_; | 376 static EventHandler* event_handler_; |
| 376 | 377 |
| 377 friend class SourceBreakpoint; | 378 friend class SourceBreakpoint; |
| 378 DISALLOW_COPY_AND_ASSIGN(Debugger); | 379 DISALLOW_COPY_AND_ASSIGN(Debugger); |
| 379 }; | 380 }; |
| 380 | 381 |
| 381 | 382 |
| 382 } // namespace dart | 383 } // namespace dart |
| 383 | 384 |
| 384 #endif // VM_DEBUGGER_H_ | 385 #endif // VM_DEBUGGER_H_ |
| OLD | NEW |