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

Issue 2664793002: [debugger] account for inlined functions when stepping. (Closed)

Created:
3 years, 10 months ago by Yang
Modified:
3 years, 10 months ago
Reviewers:
jgruber
CC:
v8-reviews_googlegroups.com, Yang
Target Ref:
refs/pending/heads/master
Project:
v8
Visibility:
Public.

Description

[debugger] account for inlined functions when stepping. - Remove obsolete BreakLocatorType. - Perform PrepareStepOnThrow after OnException event, in case stepping was scheduled in the exception event. - Use frame count instead of frame pointer for stepping. Frame pointer is not reliable due to possible deopts. - Consistently check for inlined functions in inlined frames. - Use SharedFunctionInfo in FloodWithOneshot and EnsureDebugInfo. R=jgruber@chromium.org BUG=v8:5901 Review-Url: https://codereview.chromium.org/2664793002 Cr-Commit-Position: refs/heads/master@{#42878} Committed: https://chromium.googlesource.com/v8/v8/+/d9399cc36be0e5dc2ded0ca664864c05391d8cf8

Patch Set 1 #

Total comments: 5

Patch Set 2 : rebase #

Patch Set 3 : comment addressed #

Unified diffs Side-by-side diffs Delta from patch set Stats (+307 lines, -231 lines) Patch
M src/debug/debug.h View 1 2 12 chunks +13 lines, -23 lines 0 comments Download
M src/debug/debug.cc View 1 36 chunks +185 lines, -193 lines 0 comments Download
M src/frames.h View 1 chunk +2 lines, -0 lines 0 comments Download
M src/frames.cc View 1 chunk +10 lines, -0 lines 0 comments Download
M test/cctest/test-debug.cc View 2 chunks +2 lines, -15 lines 0 comments Download
A test/debugger/regress/regress-5901-1.js View 1 chunk +50 lines, -0 lines 0 comments Download
A test/debugger/regress/regress-5901-2.js View 1 chunk +45 lines, -0 lines 0 comments Download

Messages

Total messages: 14 (9 generated)
Yang
3 years, 10 months ago (2017-01-30 13:10:52 UTC) #1
jgruber
Nice cleanup, lgtm. And nit: formatting on the commit message seems off. https://codereview.chromium.org/2664793002/diff/1/src/debug/debug.cc File src/debug/debug.cc ...
3 years, 10 months ago (2017-01-30 15:42:17 UTC) #2
Yang
https://codereview.chromium.org/2664793002/diff/1/src/debug/debug.cc File src/debug/debug.cc (left): https://codereview.chromium.org/2664793002/diff/1/src/debug/debug.cc#oldcode191 src/debug/debug.cc:191: if (isolate()->is_tail_call_elimination_enabled()) { On 2017/01/30 15:42:17, jgruber wrote: > ...
3 years, 10 months ago (2017-01-30 19:47:19 UTC) #3
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2664793002/40001
3 years, 10 months ago (2017-02-02 07:02:13 UTC) #11
commit-bot: I haz the power
3 years, 10 months ago (2017-02-02 07:31:15 UTC) #14
Message was sent while issue was closed.
Committed patchset #3 (id:40001) as
https://chromium.googlesource.com/v8/v8/+/d9399cc36be0e5dc2ded0ca664864c05391...

Powered by Google App Engine
This is Rietveld 408576698