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

Unified Diff: runtime/vm/debugger.h

Issue 51793002: Add an API function to get a debugger stack trace from an error handle. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: . Created 7 years, 1 month 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 side-by-side diff with in-line comments
Download patch
Index: runtime/vm/debugger.h
diff --git a/runtime/vm/debugger.h b/runtime/vm/debugger.h
index 8586626aa054bb0119054923c73b2fd7a6871e75..cee486a43f7dd5a451b43963f9a7ee5630515f1b 100644
--- a/runtime/vm/debugger.h
+++ b/runtime/vm/debugger.h
@@ -144,6 +144,7 @@ class ActivationFrame : public ZoneAllocated {
RawLibrary* Library();
intptr_t TokenPos();
intptr_t LineNumber();
+ intptr_t ColumnNumber();
void SetContext(const Context& ctx) { ctx_ = ctx.raw(); }
// Returns true if this frame is for a function that is visible
@@ -196,6 +197,7 @@ class ActivationFrame : public ZoneAllocated {
intptr_t token_pos_;
intptr_t pc_desc_index_;
intptr_t line_number_;
+ intptr_t column_number_;
intptr_t context_level_;
// Some frames are deoptimized into a side array in order to inspect them.
@@ -309,6 +311,8 @@ class Debugger {
bool HasBreakpoint(const Function& func);
DebuggerStackTrace* StackTrace();
+ DebuggerStackTrace* CurrentStackTrace();
hausner 2013/11/12 23:24:39 Add one or two lines of comment to describe what t
rmacnak 2013/11/14 20:00:18 Done.
+ DebuggerStackTrace* StackTraceFrom(const Stacktrace& dart_stacktrace);
RawArray* GetInstanceFields(const Instance& obj);
RawArray* GetStaticFields(const Class& cls);

Powered by Google App Engine
This is Rietveld 408576698