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 2690683002: Improvements to causal async stack traces (Closed)
Patch Set: rmacnak review Created 3 years, 10 months 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
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 331 matching lines...) Expand 10 before | Expand all | Expand 10 after
342 intptr_t var_ctx_level); 342 intptr_t var_ctx_level);
343 343
344 intptr_t TryIndex(); 344 intptr_t TryIndex();
345 void GetPcDescriptors(); 345 void GetPcDescriptors();
346 void GetVarDescriptors(); 346 void GetVarDescriptors();
347 void GetDescIndices(); 347 void GetDescIndices();
348 348
349 static const char* KindToCString(Kind kind) { 349 static const char* KindToCString(Kind kind) {
350 switch (kind) { 350 switch (kind) {
351 case kRegular: 351 case kRegular:
352 return "kRegular"; 352 return "Regular";
353 case kAsyncCausal: 353 case kAsyncCausal:
354 return "kAsyncCausal"; 354 return "AsyncCausal";
355 case kAsyncSuspensionMarker: 355 case kAsyncSuspensionMarker:
356 return "kAsyncSuspensionMarker"; 356 return "AsyncSuspensionMarker";
357 default: 357 default:
358 UNREACHABLE(); 358 UNREACHABLE();
359 return ""; 359 return "";
360 } 360 }
361 } 361 }
362 362
363 RawObject* GetStackVar(intptr_t slot_index); 363 RawObject* GetStackVar(intptr_t slot_index);
364 RawObject* GetContextVar(intptr_t ctxt_level, intptr_t slot_index); 364 RawObject* GetContextVar(intptr_t ctxt_level, intptr_t slot_index);
365 365
366 uword pc_; 366 uword pc_;
(...skipping 371 matching lines...) Expand 10 before | Expand all | Expand 10 after
738 738
739 friend class Isolate; 739 friend class Isolate;
740 friend class BreakpointLocation; 740 friend class BreakpointLocation;
741 DISALLOW_COPY_AND_ASSIGN(Debugger); 741 DISALLOW_COPY_AND_ASSIGN(Debugger);
742 }; 742 };
743 743
744 744
745 } // namespace dart 745 } // namespace dart
746 746
747 #endif // RUNTIME_VM_DEBUGGER_H_ 747 #endif // RUNTIME_VM_DEBUGGER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698