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

Unified Diff: runtime/vm/isolate.cc

Issue 23000011: Fix debugger stack traces (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 7 years, 4 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « runtime/vm/debugger_api_impl.cc ('k') | runtime/vm/service.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/isolate.cc
===================================================================
--- runtime/vm/isolate.cc (revision 26441)
+++ runtime/vm/isolate.cc (working copy)
@@ -890,7 +890,7 @@
if (i > 0) {
buffer.Printf(", ");
}
- ActivationFrame* frame = stack->ActivationFrameAt(i);
+ ActivationFrame* frame = stack->FrameAt(i);
url ^= frame->SourceUrl();
function ^= frame->function().UserVisibleName();
buffer.Printf("{ \"url\": \"%s\", ", url.ToCString());
@@ -920,7 +920,7 @@
// Frame no longer available.
return NULL;
}
- ActivationFrame* frame = stack->ActivationFrameAt(frame_index);
+ ActivationFrame* frame = stack->FrameAt(frame_index);
TextBuffer buffer(256);
buffer.Printf("{ \"handle\": \"0x%" Px64 "\", \"frame_index\": %" Pd ", ",
reinterpret_cast<int64_t>(isolate), frame_index);
« no previous file with comments | « runtime/vm/debugger_api_impl.cc ('k') | runtime/vm/service.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698