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

Unified Diff: runtime/bin/dbg_message.cc

Issue 14217006: Fix wire json breakage (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 7 years, 8 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 | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/bin/dbg_message.cc
===================================================================
--- runtime/bin/dbg_message.cc (revision 21392)
+++ runtime/bin/dbg_message.cc (working copy)
@@ -429,14 +429,14 @@
FormatEncodedString(msg, func_name);
if (!Dart_IsNull(location.script_url)) {
ASSERT(Dart_IsString(location.script_url));
- msg->Printf("\"location\": { \"url\":");
+ msg->Printf(",\"location\": { \"url\":");
FormatEncodedString(msg, location.script_url);
msg->Printf(",\"libraryId\":%d,", location.library_id);
- msg->Printf("\"tokenOffset\":%d},", location.token_pos);
+ msg->Printf("\"tokenOffset\":%d}", location.token_pos);
}
Dart_Handle locals = Dart_GetLocalVariables(frame);
ASSERT_NOT_ERROR(locals);
- msg->Printf("\"locals\":");
+ msg->Printf(",\"locals\":");
FormatNamedValueList(msg, locals);
msg->Printf("}");
}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698