Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(18)

Side by Side Diff: runtime/vm/debugger.h

Issue 2572563004: Improve the casing of Stackmap and Stacktrace. (Closed)
Patch Set: Build fixes Created 4 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « runtime/vm/dart_entry.cc ('k') | runtime/vm/debugger.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
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_
OLDNEW
« no previous file with comments | « runtime/vm/dart_entry.cc ('k') | runtime/vm/debugger.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698