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

Unified Diff: runtime/bin/dbg_message.cc

Issue 23609032: Add "function" as an argument to Dart_ActivationFrameInfo (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: PTAL Created 7 years, 3 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 | « no previous file | runtime/include/dart_debugger_api.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/bin/dbg_message.cc
diff --git a/runtime/bin/dbg_message.cc b/runtime/bin/dbg_message.cc
index 739e82c0f3321b1ca66cf0e4a9adec792eeaf636..e03a3374e275be0dcba28d1f0a8c1a277d9be82c 100644
--- a/runtime/bin/dbg_message.cc
+++ b/runtime/bin/dbg_message.cc
@@ -415,7 +415,7 @@ static void FormatLocationFromTrace(dart::TextBuffer* msg,
res = Dart_GetActivationFrame(trace, 0, &frame);
ASSERT_NOT_ERROR(res);
Dart_CodeLocation location;
- res = Dart_ActivationFrameGetLocation(frame, NULL, &location);
+ res = Dart_ActivationFrameGetLocation(frame, NULL, NULL, &location);
ASSERT_NOT_ERROR(res);
if (!Dart_IsNull(location.script_url)) {
ASSERT(Dart_IsString(location.script_url));
@@ -438,7 +438,7 @@ static void FormatCallFrames(dart::TextBuffer* msg, Dart_StackTrace trace) {
ASSERT_NOT_ERROR(res);
Dart_Handle func_name;
Dart_CodeLocation location;
- res = Dart_ActivationFrameGetLocation(frame, &func_name, &location);
+ res = Dart_ActivationFrameGetLocation(frame, &func_name, NULL, &location);
ASSERT_NOT_ERROR(res);
ASSERT(Dart_IsString(func_name));
msg->Printf("%s{\"functionName\":", (i > 0) ? "," : "");
« no previous file with comments | « no previous file | runtime/include/dart_debugger_api.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698