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

Issue 2466273005: [debugger] Further stepping support in test wrapper (Closed)

Created:
4 years, 1 month ago by jgruber
Modified:
4 years, 1 month ago
Reviewers:
Yang
CC:
v8-reviews_googlegroups.com, dgozman, kozy
Target Ref:
refs/pending/heads/master
Project:
v8
Visibility:
Public.

Description

[debugger] Further stepping support in test wrapper This CL adds further support to the test wrapper. We are now able to run almost all mjsunit/debug-step-* tests using the inspector backend. debug-stepframe-* tests are not yet supported since inspector does not know a 'frame' step type. The interface has also been improved to be able to move these tests to inspector mostly without modification. BUG=v8:5330 Committed: https://crrev.com/ea48d0942a2a12203cce9459856f6f0c02e5c2df Cr-Commit-Position: refs/heads/master@{#40800}

Patch Set 1 #

Patch Set 2 : Rebase #

Total comments: 6

Patch Set 3 : Skip all d-s-scope-part* tests, address comments #

Patch Set 4 : Move more tests #

Unified diffs Side-by-side diffs Delta from patch set Stats (+128 lines, -3309 lines) Patch
A + test/debugger/debug/debug-break-inline.js View 1 2 3 2 chunks +0 lines, -2 lines 0 comments Download
A + test/debugger/debug/debug-compile-optimized.js View 1 2 3 1 chunk +0 lines, -1 line 0 comments Download
A + test/debugger/debug/debug-evaluate-modify-this.js View 1 2 3 1 chunk +0 lines, -1 line 0 comments Download
A + test/debugger/debug/debug-evaluate-shadowed-context-2.js View 1 2 3 1 chunk +0 lines, -1 line 0 comments Download
A + test/debugger/debug/debug-generator-break.js View 1 2 3 1 chunk +0 lines, -1 line 0 comments Download
A + test/debugger/debug/debug-generator-break-on-stack.js View 1 2 3 1 chunk +0 lines, -1 line 0 comments Download
A + test/debugger/debug/debug-optimize.js View 1 2 3 1 chunk +0 lines, -1 line 0 comments Download
A + test/debugger/debug/debug-print.js View 1 2 3 1 chunk +0 lines, -1 line 0 comments Download
A + test/debugger/debug/debug-stack-check-position.js View 1 2 3 1 chunk +0 lines, -1 line 0 comments Download
A + test/debugger/debug/debug-step.js View 0 chunks +-1 lines, --1 lines 0 comments Download
A + test/debugger/debug/debug-step-2.js View 0 chunks +-1 lines, --1 lines 0 comments Download
A + test/debugger/debug/debug-step-3.js View 0 chunks +-1 lines, --1 lines 0 comments Download
A + test/debugger/debug/debug-step-4.js View 0 chunks +-1 lines, --1 lines 0 comments Download
A + test/debugger/debug/debug-step-end-of-script.js View 1 chunk +0 lines, -1 line 0 comments Download
A + test/debugger/debug/debug-step-into-json.js View 1 chunk +0 lines, -1 line 0 comments Download
A + test/debugger/debug/debug-step-into-valueof.js View 1 chunk +0 lines, -1 line 0 comments Download
A + test/debugger/debug/debug-step-stub-callfunction.js View 1 chunk +0 lines, -2 lines 0 comments Download
A + test/debugger/debug/debug-step-turbofan.js View 1 chunk +1 line, -1 line 0 comments Download
A + test/debugger/debug/debug-stepin-accessor.js View 1 chunk +0 lines, -2 lines 0 comments Download
A + test/debugger/debug/debug-stepin-accessor-ic.js View 1 chunk +0 lines, -1 line 0 comments Download
A + test/debugger/debug/debug-stepin-builtin.js View 1 chunk +0 lines, -2 lines 0 comments Download
A + test/debugger/debug/debug-stepin-builtin-callback.js View 1 chunk +0 lines, -1 line 0 comments Download
A + test/debugger/debug/debug-stepin-builtin-callback-opt.js View 1 chunk +0 lines, -1 line 0 comments Download
A + test/debugger/debug/debug-stepin-call-function-stub.js View 3 chunks +4 lines, -4 lines 0 comments Download
A + test/debugger/debug/debug-stepin-construct-call.js View 2 chunks +1 line, -4 lines 0 comments Download
A + test/debugger/debug/debug-stepin-constructor.js View 2 chunks +0 lines, -5 lines 0 comments Download
A + test/debugger/debug/debug-stepin-foreach.js View 1 chunk +1 line, -8 lines 0 comments Download
A + test/debugger/debug/debug-stepin-function-call.js View 1 chunk +0 lines, -2 lines 0 comments Download
A + test/debugger/debug/debug-stepin-property-function-call.js View 1 chunk +1 line, -2 lines 0 comments Download
A + test/debugger/debug/debug-stepnext-do-while.js View 1 chunk +0 lines, -2 lines 0 comments Download
A + test/debugger/debug/debug-stepout-recursive-function.js View 1 chunk +0 lines, -2 lines 0 comments Download
A + test/debugger/debug/debug-stepout-scope-part1.js View 1 chunk +0 lines, -1 line 0 comments Download
A + test/debugger/debug/debug-stepout-scope-part2.js View 1 chunk +0 lines, -1 line 0 comments Download
A + test/debugger/debug/debug-stepout-scope-part3.js View 1 chunk +0 lines, -1 line 0 comments Download
A + test/debugger/debug/debug-stepout-scope-part4.js View 1 chunk +0 lines, -1 line 0 comments Download
A + test/debugger/debug/debug-stepout-scope-part5.js View 1 chunk +0 lines, -1 line 0 comments Download
A + test/debugger/debug/debug-stepout-scope-part6.js View 1 chunk +0 lines, -1 line 0 comments Download
A + test/debugger/debug/debug-stepout-scope-part7.js View 1 chunk +0 lines, -1 line 0 comments Download
A + test/debugger/debug/debug-stepout-scope-part8.js View 1 chunk +0 lines, -1 line 0 comments Download
A + test/debugger/debug/debug-stepout-to-builtin.js View 1 chunk +0 lines, -2 lines 0 comments Download
M test/debugger/debugger.status View 1 2 1 chunk +19 lines, -0 lines 0 comments Download
D test/debugger/debugger/debug-step.js View 1 chunk +0 lines, -43 lines 0 comments Download
D test/debugger/debugger/debug-step-2.js View 1 chunk +0 lines, -61 lines 0 comments Download
D test/debugger/debugger/debug-step-3.js View 1 chunk +0 lines, -68 lines 0 comments Download
D test/debugger/debugger/debug-step-4.js View 1 chunk +0 lines, -80 lines 0 comments Download
M test/debugger/test-api.js View 1 2 10 chunks +105 lines, -23 lines 0 comments Download
D test/mjsunit/debug-break-inline.js View 1 2 3 1 chunk +0 lines, -100 lines 0 comments Download
D test/mjsunit/debug-compile-optimized.js View 1 2 3 1 chunk +0 lines, -18 lines 0 comments Download
D test/mjsunit/debug-evaluate-modify-this.js View 1 2 3 1 chunk +0 lines, -33 lines 0 comments Download
D test/mjsunit/debug-evaluate-shadowed-context-2.js View 1 2 3 1 chunk +0 lines, -41 lines 0 comments Download
D test/mjsunit/debug-generator-break.js View 1 2 3 1 chunk +0 lines, -44 lines 0 comments Download
D test/mjsunit/debug-generator-break-on-stack.js View 1 2 3 1 chunk +0 lines, -46 lines 0 comments Download
D test/mjsunit/debug-optimize.js View 1 2 3 1 chunk +0 lines, -54 lines 0 comments Download
D test/mjsunit/debug-print.js View 1 2 3 1 chunk +0 lines, -47 lines 0 comments Download
D test/mjsunit/debug-stack-check-position.js View 1 2 3 1 chunk +0 lines, -30 lines 0 comments Download
D test/mjsunit/debug-step-end-of-script.js View 1 chunk +0 lines, -21 lines 0 comments Download
D test/mjsunit/debug-step-into-json.js View 1 chunk +0 lines, -36 lines 0 comments Download
D test/mjsunit/debug-step-into-valueof.js View 1 chunk +0 lines, -35 lines 0 comments Download
D test/mjsunit/debug-step-stub-callfunction.js View 1 chunk +0 lines, -87 lines 0 comments Download
D test/mjsunit/debug-step-turbofan.js View 1 chunk +0 lines, -57 lines 0 comments Download
D test/mjsunit/debug-stepin-accessor.js View 1 chunk +0 lines, -248 lines 0 comments Download
D test/mjsunit/debug-stepin-accessor-ic.js View 1 chunk +0 lines, -49 lines 0 comments Download
D test/mjsunit/debug-stepin-builtin.js View 1 chunk +0 lines, -78 lines 0 comments Download
D test/mjsunit/debug-stepin-builtin-callback.js View 1 chunk +0 lines, -144 lines 0 comments Download
D test/mjsunit/debug-stepin-builtin-callback-opt.js View 1 chunk +0 lines, -37 lines 0 comments Download
D test/mjsunit/debug-stepin-call-function-stub.js View 1 chunk +0 lines, -115 lines 0 comments Download
D test/mjsunit/debug-stepin-construct-call.js View 1 chunk +0 lines, -42 lines 0 comments Download
D test/mjsunit/debug-stepin-constructor.js View 1 chunk +0 lines, -78 lines 0 comments Download
D test/mjsunit/debug-stepin-foreach.js View 1 chunk +0 lines, -53 lines 0 comments Download
D test/mjsunit/debug-stepin-function-call.js View 1 chunk +0 lines, -175 lines 0 comments Download
D test/mjsunit/debug-stepin-property-function-call.js View 1 chunk +0 lines, -153 lines 0 comments Download
D test/mjsunit/debug-stepnext-do-while.js View 1 chunk +0 lines, -79 lines 0 comments Download
D test/mjsunit/debug-stepout-recursive-function.js View 1 chunk +0 lines, -101 lines 0 comments Download
D test/mjsunit/debug-stepout-scope-part1.js View 1 chunk +0 lines, -188 lines 0 comments Download
D test/mjsunit/debug-stepout-scope-part2.js View 1 chunk +0 lines, -81 lines 0 comments Download
D test/mjsunit/debug-stepout-scope-part3.js View 1 chunk +0 lines, -78 lines 0 comments Download
D test/mjsunit/debug-stepout-scope-part4.js View 1 chunk +0 lines, -78 lines 0 comments Download
D test/mjsunit/debug-stepout-scope-part5.js View 1 chunk +0 lines, -75 lines 0 comments Download
D test/mjsunit/debug-stepout-scope-part6.js View 1 chunk +0 lines, -77 lines 0 comments Download
D test/mjsunit/debug-stepout-scope-part7.js View 1 chunk +0 lines, -77 lines 0 comments Download
D test/mjsunit/debug-stepout-scope-part8.js View 1 chunk +0 lines, -232 lines 0 comments Download
D test/mjsunit/debug-stepout-to-builtin.js View 1 chunk +0 lines, -84 lines 0 comments Download
M test/mjsunit/mjsunit.status View 1 2 2 chunks +0 lines, -5 lines 0 comments Download

Messages

Total messages: 23 (16 generated)
jgruber
Some more work on the debug wrapper. This moves most stepping tests to the inspector ...
4 years, 1 month ago (2016-11-02 08:47:39 UTC) #10
Yang
lgtm. awesome! https://codereview.chromium.org/2466273005/diff/20001/test/debugger/test-api.js File test/debugger/test-api.js (right): https://codereview.chromium.org/2466273005/diff/20001/test/debugger/test-api.js#newcode173 test/debugger/test-api.js:173: delete this.receivedMessages[msgid]; I don't think this is ...
4 years, 1 month ago (2016-11-02 10:36:04 UTC) #11
jgruber
https://codereview.chromium.org/2466273005/diff/20001/test/debugger/test-api.js File test/debugger/test-api.js (right): https://codereview.chromium.org/2466273005/diff/20001/test/debugger/test-api.js#newcode173 test/debugger/test-api.js:173: delete this.receivedMessages[msgid]; On 2016/11/02 10:36:04, Yang wrote: > I ...
4 years, 1 month ago (2016-11-07 11:35:11 UTC) #14
Yang
On 2016/11/07 11:35:11, jgruber wrote: > https://codereview.chromium.org/2466273005/diff/20001/test/debugger/test-api.js > File test/debugger/test-api.js (right): > > https://codereview.chromium.org/2466273005/diff/20001/test/debugger/test-api.js#newcode173 > ...
4 years, 1 month ago (2016-11-07 11:38:25 UTC) #15
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/2466273005/60001
4 years, 1 month ago (2016-11-07 12:00:39 UTC) #20
commit-bot: I haz the power
Committed patchset #4 (id:60001)
4 years, 1 month ago (2016-11-07 12:24:47 UTC) #21
commit-bot: I haz the power
4 years, 1 month ago (2016-11-17 22:24:33 UTC) #23
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/ea48d0942a2a12203cce9459856f6f0c02e5c2df
Cr-Commit-Position: refs/heads/master@{#40800}

Powered by Google App Engine
This is Rietveld 408576698