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

Issue 2221333002: [debugger] reapply break points after clearing one shots. (Closed)

Created:
4 years, 4 months ago by Yang
Modified:
4 years, 4 months ago
Reviewers:
jgruber
CC:
v8-reviews_googlegroups.com, Yang
Base URL:
https://chromium.googlesource.com/v8/v8.git@master
Target Ref:
refs/pending/heads/master
Project:
v8
Visibility:
Public.

Description

[debugger] reapply break points after clearing one shots. On the debug info, we have a list of existing break points. When we step in the debugger, we flood the function with one-shot break points. Afterwards, we clear these one-shots by clearing all break locations. Previously, while clearing break locations, we would skip ones that have actual break points. Now we clear all break locations, and then reapply break points. This is necessary for the next step, when we encode break point info by source position, and not code offset. Encoding by code offset would mean that break points are dependent on the code kind we use. R=jgruber@chromium.org BUG=v8:5265 Committed: https://crrev.com/808981a22ee19461bbe981ab33b58792d991533e Cr-Commit-Position: refs/heads/master@{#38492}

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+24 lines, -7 lines) Patch
M src/debug/debug.h View 1 chunk +1 line, -0 lines 0 comments Download
M src/debug/debug.cc View 3 chunks +23 lines, -7 lines 0 comments Download

Messages

Total messages: 8 (2 generated)
Yang
4 years, 4 months ago (2016-08-09 09:33:11 UTC) #1
jgruber
lgtm
4 years, 4 months ago (2016-08-09 09:46:30 UTC) #2
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/2221333002/1
4 years, 4 months ago (2016-08-09 12:17:27 UTC) #4
commit-bot: I haz the power
Committed patchset #1 (id:1)
4 years, 4 months ago (2016-08-09 13:04:08 UTC) #5
commit-bot: I haz the power
Patchset 1 (id:??) landed as https://crrev.com/808981a22ee19461bbe981ab33b58792d991533e Cr-Commit-Position: refs/heads/master@{#38492}
4 years, 4 months ago (2016-08-09 13:04:24 UTC) #7
Yang
4 years, 4 months ago (2016-08-10 08:22:10 UTC) #8
Message was sent while issue was closed.
A revert of this CL (patchset #1 id:1) has been created in
https://codereview.chromium.org/2231653003/ by yangguo@chromium.org.

The reason for reverting is: Found better solution..

Powered by Google App Engine
This is Rietveld 408576698