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

Issue 10383164: Debugger wire protocol: setting breakpoints (Closed)

Created:
8 years, 7 months ago by hausner
Modified:
8 years, 7 months ago
Reviewers:
Anton Muhin, srdjan
CC:
reviews_dartlang.org, Anton Muhin
Visibility:
Public.

Description

Debugger wire protocol: setting breakpoints - Adding commands to set breakpoints and showing current stack trace. - Adding a callback hook to signal when a breakpoint gets resolved to and actual line number. - Adding ids for breakpoints and new breakpoint API functions, deprecating the existing ones. - Adding one helper function to the JSON class Anton may want to take a look at the JSON addition. Committed: https://code.google.com/p/dart/source/detail?r=7628

Patch Set 1 #

Total comments: 8

Patch Set 2 : #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+515 lines, -73 lines) Patch
M lib/json/json.dart View 1 2 chunks +20 lines, -0 lines 2 comments Download
M runtime/bin/dbg_connection.h View 1 3 chunks +14 lines, -0 lines 0 comments Download
M runtime/bin/dbg_connection.cc View 1 14 chunks +136 lines, -41 lines 0 comments Download
M runtime/include/dart_debugger_api.h View 1 4 chunks +74 lines, -0 lines 0 comments Download
M runtime/vm/debugger.h View 1 7 chunks +35 lines, -3 lines 0 comments Download
M runtime/vm/debugger.cc View 1 12 chunks +47 lines, -7 lines 0 comments Download
M runtime/vm/debugger_api_impl.cc View 1 4 chunks +102 lines, -1 line 0 comments Download
M runtime/vm/debugger_api_impl_test.cc View 1 4 chunks +12 lines, -7 lines 0 comments Download
M tools/ddbg.dart View 1 8 chunks +75 lines, -14 lines 0 comments Download

Messages

Total messages: 5 (0 generated)
hausner
8 years, 7 months ago (2012-05-14 20:09:36 UTC) #1
srdjan
LGTM with comments and questions http://codereview.chromium.org/10383164/diff/1/runtime/bin/dbg_connection.cc File runtime/bin/dbg_connection.cc (right): http://codereview.chromium.org/10383164/diff/1/runtime/bin/dbg_connection.cc#newcode186 runtime/bin/dbg_connection.cc:186: queued_messages_.Clear(); Is using a ...
8 years, 7 months ago (2012-05-14 20:48:16 UTC) #2
hausner
Thanks for the quick review! http://codereview.chromium.org/10383164/diff/1/runtime/bin/dbg_connection.cc File runtime/bin/dbg_connection.cc (right): http://codereview.chromium.org/10383164/diff/1/runtime/bin/dbg_connection.cc#newcode186 runtime/bin/dbg_connection.cc:186: queued_messages_.Clear(); On 2012/05/14 20:48:16, ...
8 years, 7 months ago (2012-05-14 21:07:27 UTC) #3
Anton Muhin
http://codereview.chromium.org/10383164/diff/9001/lib/json/json.dart File lib/json/json.dart (right): http://codereview.chromium.org/10383164/diff/9001/lib/json/json.dart#newcode111 lib/json/json.dart:111: p._parseObject(); I am not sure it's valid implementation: _parseObject ...
8 years, 7 months ago (2012-05-15 15:17:56 UTC) #4
hausner
8 years, 7 months ago (2012-05-15 15:32:56 UTC) #5
http://codereview.chromium.org/10383164/diff/9001/lib/json/json.dart
File lib/json/json.dart (right):

http://codereview.chromium.org/10383164/diff/9001/lib/json/json.dart#newcode111
lib/json/json.dart:111: p._parseObject();
Nice catch! Thank you for taking a look. I'll fix it in a separate checkin.

On 2012/05/15 15:17:56, antonmuhin wrote:
> I am not sure it's valid implementation: _parseObject will unconditionally
skip
> first char as it's used under dispatch in _parseValue, so it will probably
> accept something like [ 'foo': 1 }

Powered by Google App Engine
This is Rietveld 408576698