| 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_tools_api.h" | 8 #include "include/dart_tools_api.h" |
| 9 | 9 |
| 10 #include "vm/object.h" | 10 #include "vm/object.h" |
| (...skipping 409 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 420 void NotifyDoneLoading(); | 420 void NotifyDoneLoading(); |
| 421 | 421 |
| 422 RawFunction* ResolveFunction(const Library& library, | 422 RawFunction* ResolveFunction(const Library& library, |
| 423 const String& class_name, | 423 const String& class_name, |
| 424 const String& function_name); | 424 const String& function_name); |
| 425 | 425 |
| 426 // Set breakpoint at closest location to function entry. | 426 // Set breakpoint at closest location to function entry. |
| 427 Breakpoint* SetBreakpointAtEntry(const Function& target_function, | 427 Breakpoint* SetBreakpointAtEntry(const Function& target_function, |
| 428 bool single_shot); | 428 bool single_shot); |
| 429 Breakpoint* SetBreakpointAtActivation(const Instance& closure); | 429 Breakpoint* SetBreakpointAtActivation(const Instance& closure); |
| 430 Breakpoint* BreakpointAtActivation(const Instance& closure); |
| 430 | 431 |
| 431 // TODO(turnidge): script_url may no longer be specific enough. | 432 // TODO(turnidge): script_url may no longer be specific enough. |
| 432 Breakpoint* SetBreakpointAtLine(const String& script_url, | 433 Breakpoint* SetBreakpointAtLine(const String& script_url, |
| 433 intptr_t line_number); | 434 intptr_t line_number); |
| 434 RawError* OneTimeBreakAtEntry(const Function& target_function); | 435 RawError* OneTimeBreakAtEntry(const Function& target_function); |
| 435 | 436 |
| 436 BreakpointLocation* BreakpointLocationAtLine(const String& script_url, | 437 BreakpointLocation* BreakpointLocationAtLine(const String& script_url, |
| 437 intptr_t line_number); | 438 intptr_t line_number); |
| 438 | 439 |
| 439 | 440 |
| (...skipping 192 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 632 | 633 |
| 633 friend class Isolate; | 634 friend class Isolate; |
| 634 friend class BreakpointLocation; | 635 friend class BreakpointLocation; |
| 635 DISALLOW_COPY_AND_ASSIGN(Debugger); | 636 DISALLOW_COPY_AND_ASSIGN(Debugger); |
| 636 }; | 637 }; |
| 637 | 638 |
| 638 | 639 |
| 639 } // namespace dart | 640 } // namespace dart |
| 640 | 641 |
| 641 #endif // VM_DEBUGGER_H_ | 642 #endif // VM_DEBUGGER_H_ |
| OLD | NEW |