| 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 RUNTIME_VM_DEBUGGER_H_ | 5 #ifndef RUNTIME_VM_DEBUGGER_H_ |
| 6 #define RUNTIME_VM_DEBUGGER_H_ | 6 #define RUNTIME_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 613 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 624 bool NeedsDebugEvents(); | 624 bool NeedsDebugEvents(); |
| 625 void InvokeEventHandler(ServiceEvent* event); | 625 void InvokeEventHandler(ServiceEvent* event); |
| 626 | 626 |
| 627 void SendBreakpointEvent(ServiceEvent::EventKind kind, Breakpoint* bpt); | 627 void SendBreakpointEvent(ServiceEvent::EventKind kind, Breakpoint* bpt); |
| 628 | 628 |
| 629 bool IsAtAsyncJump(ActivationFrame* top_frame); | 629 bool IsAtAsyncJump(ActivationFrame* top_frame); |
| 630 void FindCompiledFunctions(const Script& script, | 630 void FindCompiledFunctions(const Script& script, |
| 631 TokenPosition start_pos, | 631 TokenPosition start_pos, |
| 632 TokenPosition end_pos, | 632 TokenPosition end_pos, |
| 633 GrowableObjectArray* function_list); | 633 GrowableObjectArray* function_list); |
| 634 RawFunction* FindBestFit(const Script& script, TokenPosition token_pos); | 634 bool FindBestFit(const Script& script, |
| 635 TokenPosition token_pos, |
| 636 TokenPosition last_token_pos, |
| 637 Function* best_fit); |
| 635 RawFunction* FindInnermostClosure(const Function& function, | 638 RawFunction* FindInnermostClosure(const Function& function, |
| 636 TokenPosition token_pos); | 639 TokenPosition token_pos); |
| 637 TokenPosition ResolveBreakpointPos(const Function& func, | 640 TokenPosition ResolveBreakpointPos(const Function& func, |
| 638 TokenPosition requested_token_pos, | 641 TokenPosition requested_token_pos, |
| 639 TokenPosition last_token_pos, | 642 TokenPosition last_token_pos, |
| 640 intptr_t requested_column); | 643 intptr_t requested_column); |
| 641 void DeoptimizeWorld(); | 644 void DeoptimizeWorld(); |
| 642 BreakpointLocation* SetBreakpoint(const Script& script, | 645 BreakpointLocation* SetBreakpoint(const Script& script, |
| 643 TokenPosition token_pos, | 646 TokenPosition token_pos, |
| 644 TokenPosition last_token_pos, | 647 TokenPosition last_token_pos, |
| (...skipping 144 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 789 | 792 |
| 790 friend class Isolate; | 793 friend class Isolate; |
| 791 friend class BreakpointLocation; | 794 friend class BreakpointLocation; |
| 792 DISALLOW_COPY_AND_ASSIGN(Debugger); | 795 DISALLOW_COPY_AND_ASSIGN(Debugger); |
| 793 }; | 796 }; |
| 794 | 797 |
| 795 | 798 |
| 796 } // namespace dart | 799 } // namespace dart |
| 797 | 800 |
| 798 #endif // RUNTIME_VM_DEBUGGER_H_ | 801 #endif // RUNTIME_VM_DEBUGGER_H_ |
| OLD | NEW |