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

Issue 2898153006: Cleanup how a best fit function is found when setting a breakpoint. (Closed)

Created:
3 years, 7 months ago by sivachandra
Modified:
3 years, 6 months ago
Reviewers:
siva
CC:
reviews_dartlang.org, vm-dev_dartlang.org
Target Ref:
refs/heads/master
Visibility:
Public.

Description

Cleanup how a best fit function is found when setting a breakpoint. 1. Look for functions/closures only in the script where the breakpoint is being set. 2. If an inner most closure is found, return that as the best fit. 3. When going over a class' functions, return immediately when a fit is found as going over the other class functions will not yield a narrower fit. BUG= R=asiva@google.com Committed: https://github.com/dart-lang/sdk/commit/1eaa3dd84baf04db4ab7c437c734dceaa27785a3

Patch Set 1 #

Total comments: 6

Patch Set 2 : Address comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+26 lines, -13 lines) Patch
M runtime/vm/debugger.cc View 1 2 chunks +26 lines, -13 lines 0 comments Download

Messages

Total messages: 6 (2 generated)
sivachandra
3 years, 7 months ago (2017-05-25 00:48:21 UTC) #2
siva
lgtm https://codereview.chromium.org/2898153006/diff/1/runtime/vm/debugger.cc File runtime/vm/debugger.cc (right): https://codereview.chromium.org/2898153006/diff/1/runtime/vm/debugger.cc#newcode2662 runtime/vm/debugger.cc:2662: GrowableObjectArray& closures = GrowableObjectArray::Handle(zone); Maybe this can be ...
3 years, 7 months ago (2017-05-25 01:26:25 UTC) #3
sivachandra
PTAL https://codereview.chromium.org/2898153006/diff/1/runtime/vm/debugger.cc File runtime/vm/debugger.cc (right): https://codereview.chromium.org/2898153006/diff/1/runtime/vm/debugger.cc#newcode2662 runtime/vm/debugger.cc:2662: GrowableObjectArray& closures = GrowableObjectArray::Handle(zone); On 2017/05/25 01:26:25, siva ...
3 years, 7 months ago (2017-05-25 04:48:18 UTC) #4
sivachandra
3 years, 6 months ago (2017-05-25 19:57:46 UTC) #6
Message was sent while issue was closed.
Committed patchset #2 (id:20001) manually as
1eaa3dd84baf04db4ab7c437c734dceaa27785a3 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698