| 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 void Shutdown(); | 343 void Shutdown(); |
| 344 | 344 |
| 345 void NotifyCompilation(const Function& func); | 345 void NotifyCompilation(const Function& func); |
| 346 | 346 |
| 347 RawFunction* ResolveFunction(const Library& library, | 347 RawFunction* ResolveFunction(const Library& library, |
| 348 const String& class_name, | 348 const String& class_name, |
| 349 const String& function_name); | 349 const String& function_name); |
| 350 | 350 |
| 351 // Set breakpoint at closest location to function entry. | 351 // Set breakpoint at closest location to function entry. |
| 352 SourceBreakpoint* SetBreakpointAtEntry(const Function& target_function); | 352 SourceBreakpoint* SetBreakpointAtEntry(const Function& target_function); |
| 353 |
| 354 // TODO(turnidge): script_url may no longer be specific enough. |
| 353 SourceBreakpoint* SetBreakpointAtLine(const String& script_url, | 355 SourceBreakpoint* SetBreakpointAtLine(const String& script_url, |
| 354 intptr_t line_number); | 356 intptr_t line_number); |
| 355 void OneTimeBreakAtEntry(const Function& target_function); | 357 void OneTimeBreakAtEntry(const Function& target_function); |
| 356 | 358 |
| 357 void RemoveBreakpoint(intptr_t bp_id); | 359 void RemoveBreakpoint(intptr_t bp_id); |
| 358 SourceBreakpoint* GetBreakpointById(intptr_t id); | 360 SourceBreakpoint* GetBreakpointById(intptr_t id); |
| 359 | 361 |
| 360 void SetStepOver(); | 362 void SetStepOver(); |
| 361 void SetSingleStep(); | 363 void SetSingleStep(); |
| 362 void SetStepOut(); | 364 void SetStepOut(); |
| (...skipping 185 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 548 | 550 |
| 549 friend class Isolate; | 551 friend class Isolate; |
| 550 friend class SourceBreakpoint; | 552 friend class SourceBreakpoint; |
| 551 DISALLOW_COPY_AND_ASSIGN(Debugger); | 553 DISALLOW_COPY_AND_ASSIGN(Debugger); |
| 552 }; | 554 }; |
| 553 | 555 |
| 554 | 556 |
| 555 } // namespace dart | 557 } // namespace dart |
| 556 | 558 |
| 557 #endif // VM_DEBUGGER_H_ | 559 #endif // VM_DEBUGGER_H_ |
| OLD | NEW |