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

Issue 918003002: Add 'break' and 'clear' commands to Observatory debugger. (Closed)

Created:
5 years, 10 months ago by turnidge
Modified:
5 years, 10 months ago
Reviewers:
Cutch
CC:
reviews_dartlang.org, Cutch, vm-dev_dartlang.org
Target Ref:
refs/heads/master
Visibility:
Public.

Description

Add 'break' and 'clear' commands to Observatory debugger. break adds a breakpoint, clear removes it. Formats: break - break at current position break 13 - break at line 13, current script break 13:20 - break at line 13, col 20, current script break script.dart:13 - break at line 13, script.dart break script.dart:13:20 - break at line 13, col 20, script.dart break main - break at function break FormatException - break at constructor break _SHA1._updateHash - break at method clear supports the same location specifiers. TAB completion works for all of these formats. The protocol does not yet support setting column-specific or function/constructor/method breakpoints. For now we just support parsing these formats. Committed: https://code.google.com/p/dart/source/detail?r=43733

Patch Set 1 #

Patch Set 2 : fixups #

Total comments: 4

Patch Set 3 : code review #

Unified diffs Side-by-side diffs Delta from patch set Stats (+977 lines, -122 lines) Patch
A + runtime/observatory/lib/debugger.dart View 1 chunk +4 lines, -2 lines 0 comments Download
M runtime/observatory/lib/src/cli/command.dart View 1 6 chunks +23 lines, -16 lines 0 comments Download
A + runtime/observatory/lib/src/debugger/debugger.dart View 1 1 chunk +5 lines, -4 lines 0 comments Download
A runtime/observatory/lib/src/debugger/source_location.dart View 1 2 1 chunk +367 lines, -0 lines 0 comments Download
M runtime/observatory/lib/src/elements/debugger.dart View 1 14 chunks +232 lines, -51 lines 0 comments Download
M runtime/observatory/lib/src/service/object.dart View 2 chunks +8 lines, -8 lines 0 comments Download
M runtime/observatory/test/command_test.dart View 2 chunks +60 lines, -40 lines 0 comments Download
A runtime/observatory/test/source_location_test.dart View 1 2 1 chunk +278 lines, -0 lines 0 comments Download
M runtime/vm/service.cc View 1 2 1 chunk +0 lines, -1 line 0 comments Download

Messages

Total messages: 5 (1 generated)
turnidge
5 years, 10 months ago (2015-02-11 23:39:07 UTC) #2
Cutch
LGTMwC https://codereview.chromium.org/918003002/diff/20001/runtime/observatory/lib/src/debugger/source_location.dart File runtime/observatory/lib/src/debugger/source_location.dart (right): https://codereview.chromium.org/918003002/diff/20001/runtime/observatory/lib/src/debugger/source_location.dart#newcode26 runtime/observatory/lib/src/debugger/source_location.dart:26: static Future<SourceLocation> parse(Debugger debugger, String locDesc) { It ...
5 years, 10 months ago (2015-02-12 00:53:26 UTC) #3
turnidge
https://codereview.chromium.org/918003002/diff/20001/runtime/observatory/lib/src/debugger/source_location.dart File runtime/observatory/lib/src/debugger/source_location.dart (right): https://codereview.chromium.org/918003002/diff/20001/runtime/observatory/lib/src/debugger/source_location.dart#newcode26 runtime/observatory/lib/src/debugger/source_location.dart:26: static Future<SourceLocation> parse(Debugger debugger, String locDesc) { On 2015/02/12 ...
5 years, 10 months ago (2015-02-12 18:48:26 UTC) #4
turnidge
5 years, 10 months ago (2015-02-12 18:49:20 UTC) #5
Message was sent while issue was closed.
Committed patchset #3 (id:40001) manually as 43733 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698