| 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 452 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 463   // a debugger stub. | 463   // a debugger stub. | 
| 464   bool HasActiveBreakpoint(uword pc); | 464   bool HasActiveBreakpoint(uword pc); | 
| 465 | 465 | 
| 466   // Returns a stack trace with frames corresponding to invisible functions | 466   // Returns a stack trace with frames corresponding to invisible functions | 
| 467   // omitted. CurrentStackTrace always returns a new trace on the current stack. | 467   // omitted. CurrentStackTrace always returns a new trace on the current stack. | 
| 468   // The trace returned by StackTrace may have been cached; it is suitable for | 468   // The trace returned by StackTrace may have been cached; it is suitable for | 
| 469   // use when stepping, but otherwise may be out of sync with the current stack. | 469   // use when stepping, but otherwise may be out of sync with the current stack. | 
| 470   DebuggerStackTrace* StackTrace(); | 470   DebuggerStackTrace* StackTrace(); | 
| 471   DebuggerStackTrace* CurrentStackTrace(); | 471   DebuggerStackTrace* CurrentStackTrace(); | 
| 472 | 472 | 
| 473   // Returns a debugger stack trace corresponding to a dart.core.Stacktrace. | 473   // Returns a debugger stack trace corresponding to a dart.core.StackTrace. | 
| 474   // Frames corresponding to invisible functions are omitted. It is not valid | 474   // Frames corresponding to invisible functions are omitted. It is not valid | 
| 475   // to query local variables in the returned stack. | 475   // to query local variables in the returned stack. | 
| 476   DebuggerStackTrace* StackTraceFrom(const Stacktrace& dart_stacktrace); | 476   DebuggerStackTrace* StackTraceFrom(const class StackTrace& dart_stacktrace); | 
| 477 | 477 | 
| 478   RawArray* GetInstanceFields(const Instance& obj); | 478   RawArray* GetInstanceFields(const Instance& obj); | 
| 479   RawArray* GetStaticFields(const Class& cls); | 479   RawArray* GetStaticFields(const Class& cls); | 
| 480   RawArray* GetLibraryFields(const Library& lib); | 480   RawArray* GetLibraryFields(const Library& lib); | 
| 481   RawArray* GetGlobalFields(const Library& lib); | 481   RawArray* GetGlobalFields(const Library& lib); | 
| 482 | 482 | 
| 483   intptr_t CacheObject(const Object& obj); | 483   intptr_t CacheObject(const Object& obj); | 
| 484   RawObject* GetCachedObject(intptr_t obj_id); | 484   RawObject* GetCachedObject(intptr_t obj_id); | 
| 485   bool IsValidObjectId(intptr_t obj_id); | 485   bool IsValidObjectId(intptr_t obj_id); | 
| 486 | 486 | 
| (...skipping 179 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 666 | 666 | 
| 667   friend class Isolate; | 667   friend class Isolate; | 
| 668   friend class BreakpointLocation; | 668   friend class BreakpointLocation; | 
| 669   DISALLOW_COPY_AND_ASSIGN(Debugger); | 669   DISALLOW_COPY_AND_ASSIGN(Debugger); | 
| 670 }; | 670 }; | 
| 671 | 671 | 
| 672 | 672 | 
| 673 }  // namespace dart | 673 }  // namespace dart | 
| 674 | 674 | 
| 675 #endif  // RUNTIME_VM_DEBUGGER_H_ | 675 #endif  // RUNTIME_VM_DEBUGGER_H_ | 
| OLD | NEW | 
|---|