| 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 401 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 412 void SetInternalBreakpoints(const Function& target_function); | 412 void SetInternalBreakpoints(const Function& target_function); |
| 413 SourceBreakpoint* SetBreakpoint(const Script& script, | 413 SourceBreakpoint* SetBreakpoint(const Script& script, |
| 414 intptr_t token_pos, | 414 intptr_t token_pos, |
| 415 intptr_t last_token_pos); | 415 intptr_t last_token_pos); |
| 416 void RemoveInternalBreakpoints(); | 416 void RemoveInternalBreakpoints(); |
| 417 void UnlinkCodeBreakpoints(SourceBreakpoint* src_bpt); | 417 void UnlinkCodeBreakpoints(SourceBreakpoint* src_bpt); |
| 418 void RegisterSourceBreakpoint(SourceBreakpoint* bpt); | 418 void RegisterSourceBreakpoint(SourceBreakpoint* bpt); |
| 419 void RegisterCodeBreakpoint(CodeBreakpoint* bpt); | 419 void RegisterCodeBreakpoint(CodeBreakpoint* bpt); |
| 420 SourceBreakpoint* GetSourceBreakpoint(const Script& script, | 420 SourceBreakpoint* GetSourceBreakpoint(const Script& script, |
| 421 intptr_t token_pos); | 421 intptr_t token_pos); |
| 422 void MakeCodeBreakpointsAt(const Function& func, | 422 void MakeCodeBreakpointAt(const Function& func, |
| 423 SourceBreakpoint* bpt); | 423 SourceBreakpoint* bpt); |
| 424 // Returns NULL if no breakpoint exists for the given address. | 424 // Returns NULL if no breakpoint exists for the given address. |
| 425 CodeBreakpoint* GetCodeBreakpoint(uword breakpoint_address); | 425 CodeBreakpoint* GetCodeBreakpoint(uword breakpoint_address); |
| 426 | 426 |
| 427 void SyncBreakpoint(SourceBreakpoint* bpt); | 427 void SyncBreakpoint(SourceBreakpoint* bpt); |
| 428 | 428 |
| 429 ActivationFrame* TopDartFrame() const; | 429 ActivationFrame* TopDartFrame() const; |
| 430 static ActivationFrame* CollectDartFrame(Isolate* isolate, | 430 static ActivationFrame* CollectDartFrame(Isolate* isolate, |
| 431 uword pc, | 431 uword pc, |
| 432 StackFrame* frame, | 432 StackFrame* frame, |
| 433 const Code& code, | 433 const Code& code, |
| (...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 501 | 501 |
| 502 friend class Isolate; | 502 friend class Isolate; |
| 503 friend class SourceBreakpoint; | 503 friend class SourceBreakpoint; |
| 504 DISALLOW_COPY_AND_ASSIGN(Debugger); | 504 DISALLOW_COPY_AND_ASSIGN(Debugger); |
| 505 }; | 505 }; |
| 506 | 506 |
| 507 | 507 |
| 508 } // namespace dart | 508 } // namespace dart |
| 509 | 509 |
| 510 #endif // VM_DEBUGGER_H_ | 510 #endif // VM_DEBUGGER_H_ |
| OLD | NEW |